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.FamilyOptions, Mutation.MutationOptions, Mutation.QualifierOptions, Mutation.SERIALIZED_FORMAT, Mutation.TimestampOptions, Mutation.VisibilityOptions
-
Constructor Summary
ConstructorDescriptionConditionalMutation
(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 TypeMethodDescriptionvoid
addCondition
(Condition condition) boolean
int
hashCode()
void
setReplicationSources
(Set<String> sources) Deprecated.Methods inherited from class org.apache.accumulo.core.data.Mutation
addReplicationSource, at, droppingOldTimestamp, equals, estimatedMemoryUsed, getReplicationSources, getRow, getSerializedFormat, getUpdates, newColumnUpdate, numBytes, prettyPrint, 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
Deprecated.Description copied from class:Mutation
Set the replication peers which this Mutation originated from- Overrides:
setReplicationSources
in classMutation
- Parameters:
sources
- Set of peer names which have processed this update
-