public class ConditionalMutation extends Mutation
Mutation.SERIALIZED_FORMAT
Constructor and Description |
---|
ConditionalMutation(byte[] row,
Condition... conditions) |
ConditionalMutation(byte[] row,
int start,
int length,
Condition... conditions) |
ConditionalMutation(ByteSequence row,
Condition... conditions) |
ConditionalMutation(CharSequence row,
Condition... conditions) |
ConditionalMutation(ConditionalMutation cm) |
ConditionalMutation(org.apache.hadoop.io.Text row,
Condition... conditions) |
Modifier and Type | Method and Description |
---|---|
void |
addCondition(Condition condition) |
boolean |
equals(Object o) |
List<Condition> |
getConditions() |
int |
hashCode() |
void |
setReplicationSources(Set<String> sources)
Set the replication peers which this Mutation originated from
|
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
public ConditionalMutation(byte[] row, Condition... conditions)
public ConditionalMutation(byte[] row, int start, int length, Condition... conditions)
public ConditionalMutation(org.apache.hadoop.io.Text row, Condition... conditions)
public ConditionalMutation(CharSequence row, Condition... conditions)
public ConditionalMutation(ByteSequence row, Condition... conditions)
public ConditionalMutation(ConditionalMutation cm)
public void addCondition(Condition condition)
public void setReplicationSources(Set<String> sources)
Mutation
setReplicationSources
in class Mutation
sources
- Set of peer names which have processed this updateCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.