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 |
---|---|
Mutation |
apply()
Applies the counter mutation, returns the result Mutation (for replication to other nodes).
|
ConsistencyLevel |
consistency() |
java.util.Collection<java.util.UUID> |
getColumnFamilyIds() |
java.lang.String |
getKeyspaceName() |
Mutation |
getMutation() |
java.util.Collection<PartitionUpdate> |
getPartitionUpdates() |
long |
getTimeout() |
DecoratedKey |
key() |
MessageOut<CounterMutation> |
makeMutationMessage() |
java.lang.String |
toString() |
java.lang.String |
toString(boolean shallow) |
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<java.util.UUID> getColumnFamilyIds()
getColumnFamilyIds
in interface IMutation
public java.util.Collection<PartitionUpdate> getPartitionUpdates()
getPartitionUpdates
in interface IMutation
public Mutation getMutation()
public DecoratedKey key()
public ConsistencyLevel consistency()
public MessageOut<CounterMutation> makeMutationMessage()
public Mutation apply() throws WriteTimeoutException
WriteTimeoutException
public long getTimeout()
getTimeout
in interface IMutation
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2017 The Apache Software Foundation