public static class LocalityGroupUtil.PartitionedMutation extends Mutation
Mutation.SERIALIZED_FORMAT
Constructor and Description |
---|
PartitionedMutation(byte[] row,
List<ColumnUpdate> updates) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Mutation m)
Checks if this mutation equals another.
|
boolean |
equals(Object o) |
byte[] |
getRow()
Gets the row ID for this mutation.
|
List<ColumnUpdate> |
getUpdates()
Gets the modifications and deletions in this mutation.
|
int |
hashCode() |
TMutation |
toThrift()
Creates a
TMutation object containing this
Mutation's data. |
addReplicationSource, droppingOldTimestamp, estimatedMemoryUsed, getReplicationSources, getSerializedFormat, 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, setReplicationSources, size, write
public PartitionedMutation(byte[] row, List<ColumnUpdate> updates)
public byte[] getRow()
Mutation
public List<ColumnUpdate> getUpdates()
Mutation
getUpdates
in class Mutation
public TMutation toThrift()
Mutation
TMutation
object containing this
Mutation's data.
Note that this method will move the Mutation into a "serialized" state that will prevent users
from adding more data via Mutation#put().public boolean equals(Mutation m)
Mutation
Mutation.equals(Object)
. See ACCUMULO-1627 for more information.Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.