public class CqlMutationBatchImpl extends AbstractMutationBatchImpl
clock, consistencyLevel, keyspace, mutationMap, pinnedHost, retry, rowLookup, timestamp, useAtomicBatch, wal| Constructor and Description |
|---|
CqlMutationBatchImpl(CqlKeyspaceImpl.KeyspaceContext ksCtx,
com.netflix.astyanax.Clock clock,
com.netflix.astyanax.model.ConsistencyLevel consistencyLevel,
com.netflix.astyanax.retry.RetryPolicy retry) |
| Modifier and Type | Method and Description |
|---|---|
<K,C> com.netflix.astyanax.ColumnListMutation<C> |
createColumnListMutation(java.lang.String keyspace,
com.netflix.astyanax.model.ColumnFamily<K,C> cf,
K rowKey) |
com.netflix.astyanax.connectionpool.OperationResult<java.lang.Void> |
execute() |
com.google.common.util.concurrent.ListenableFuture<com.netflix.astyanax.connectionpool.OperationResult<java.lang.Void>> |
executeAsync() |
void |
mergeColumnListMutation(com.netflix.astyanax.ColumnListMutation<?> from,
com.netflix.astyanax.ColumnListMutation<?> to) |
com.netflix.astyanax.MutationBatch |
withCaching(boolean condition) |
deleteRow, deserialize, discardMutations, getConsistencyLevel, getMutationMap, getPinnedHost, getRetryPolicy, getRowCount, getRowKeys, getWriteAheadLog, isEmpty, lockCurrentTimestamp, mergeShallow, pinToHost, serialize, setConsistencyLevel, setTimeout, setTimestamp, toString, useAtomicBatch, usingWriteAheadLog, withAtomicBatch, withConsistencyLevel, withRetryPolicy, withRow, withTimestamppublic CqlMutationBatchImpl(CqlKeyspaceImpl.KeyspaceContext ksCtx, com.netflix.astyanax.Clock clock, com.netflix.astyanax.model.ConsistencyLevel consistencyLevel, com.netflix.astyanax.retry.RetryPolicy retry)
public <K,C> com.netflix.astyanax.ColumnListMutation<C> createColumnListMutation(java.lang.String keyspace,
com.netflix.astyanax.model.ColumnFamily<K,C> cf,
K rowKey)
createColumnListMutation in class AbstractMutationBatchImplpublic void mergeColumnListMutation(com.netflix.astyanax.ColumnListMutation<?> from,
com.netflix.astyanax.ColumnListMutation<?> to)
mergeColumnListMutation in class AbstractMutationBatchImplpublic com.netflix.astyanax.connectionpool.OperationResult<java.lang.Void> execute()
throws com.netflix.astyanax.connectionpool.exceptions.ConnectionException
com.netflix.astyanax.connectionpool.exceptions.ConnectionExceptionpublic com.google.common.util.concurrent.ListenableFuture<com.netflix.astyanax.connectionpool.OperationResult<java.lang.Void>> executeAsync()
throws com.netflix.astyanax.connectionpool.exceptions.ConnectionException
com.netflix.astyanax.connectionpool.exceptions.ConnectionExceptionpublic com.netflix.astyanax.MutationBatch withCaching(boolean condition)