| Modifier and Type | Class and Description |
|---|---|
static class |
CounterMutation.CounterMutationSerializer |
| Modifier and Type | Field and Description |
|---|---|
static CounterMutation.CounterMutationSerializer |
serializer |
| Constructor and Description |
|---|
CounterMutation(Mutation mutation,
ConsistencyLevel consistency) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply() |
Mutation |
applyCounterMutation()
Applies the counter mutation, returns the result Mutation (for replication to other nodes).
|
ConsistencyLevel |
consistency() |
java.lang.String |
getKeyspaceName() |
Mutation |
getMutation() |
java.util.Collection<PartitionUpdate> |
getPartitionUpdates() |
java.util.Collection<TableId> |
getTableIds() |
long |
getTimeout(java.util.concurrent.TimeUnit unit) |
DecoratedKey |
key() |
java.lang.String |
toString() |
java.lang.String |
toString(boolean shallow) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdataSize, validateIndexedColumnspublic static final CounterMutation.CounterMutationSerializer serializer
public CounterMutation(Mutation mutation, ConsistencyLevel consistency)
public java.lang.String getKeyspaceName()
getKeyspaceName in interface IMutationpublic java.util.Collection<TableId> getTableIds()
getTableIds in interface IMutationpublic java.util.Collection<PartitionUpdate> getPartitionUpdates()
getPartitionUpdates in interface IMutationpublic Mutation getMutation()
public DecoratedKey key()
public ConsistencyLevel consistency()
public Mutation applyCounterMutation() throws WriteTimeoutException
WriteTimeoutExceptionpublic long getTimeout(java.util.concurrent.TimeUnit unit)
getTimeout in interface IMutationpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2009-2019 The Apache Software Foundation