Package org.apache.accumulo.core.data
Class ConditionalMutation
java.lang.Object
org.apache.accumulo.core.data.Mutation
org.apache.accumulo.core.data.ConditionalMutation
- All Implemented Interfaces:
org.apache.hadoop.io.Writable
A Mutation that contains a list of conditions that must all be met before the mutation is
applied.
- Since:
- 1.6.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.accumulo.core.data.Mutation
Mutation.SERIALIZED_FORMAT -
Constructor Summary
ConstructorsConstructorDescriptionConditionalMutation(byte[] row, int start, int length, Condition... conditions) ConditionalMutation(byte[] row, Condition... conditions) ConditionalMutation(CharSequence row, Condition... conditions) ConditionalMutation(ByteSequence row, Condition... conditions) ConditionalMutation(org.apache.hadoop.io.Text row, Condition... conditions) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCondition(Condition condition) booleaninthashCode()voidsetReplicationSources(Set<String> sources) Set the replication peers which this Mutation originated fromMethods inherited from class org.apache.accumulo.core.data.Mutation
addReplicationSource, droppingOldTimestamp, equals, estimatedMemoryUsed, getReplicationSources, getRow, getSerializedFormat, getUpdates, newColumnUpdate, numBytes, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, putDelete, putDelete, putDelete, putDelete, putDelete, putDelete, putDelete, putDelete, putDelete, putDelete, putDelete, putDelete, readFields, size, toThrift, write
-
Constructor Details
-
ConditionalMutation
-
ConditionalMutation
-
ConditionalMutation
-
ConditionalMutation
-
ConditionalMutation
-
ConditionalMutation
-
-
Method Details
-
addCondition
-
getConditions
-
equals
-
hashCode
public int hashCode() -
setReplicationSources
Description copied from class:MutationSet the replication peers which this Mutation originated from- Overrides:
setReplicationSourcesin classMutation- Parameters:
sources- Set of peer names which have processed this update
-