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, wait
dataSize, validateIndexedColumns
public static final CounterMutation.CounterMutationSerializer serializer
public CounterMutation(Mutation mutation, ConsistencyLevel consistency)
public java.lang.String getKeyspaceName()
getKeyspaceName
in interface IMutation
public java.util.Collection<TableId> getTableIds()
getTableIds
in interface IMutation
public java.util.Collection<PartitionUpdate> getPartitionUpdates()
getPartitionUpdates
in interface IMutation
public Mutation getMutation()
public DecoratedKey key()
public ConsistencyLevel consistency()
public Mutation applyCounterMutation() throws WriteTimeoutException
WriteTimeoutException
public long getTimeout(java.util.concurrent.TimeUnit unit)
getTimeout
in interface IMutation
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2009-2019 The Apache Software Foundation