Package org.apache.accumulo.server.data
Class ServerMutation
java.lang.Object
org.apache.accumulo.core.data.Mutation
org.apache.accumulo.server.data.ServerMutation
- All Implemented Interfaces:
org.apache.hadoop.io.Writable
Mutation that holds system time as computed by the tablet server when not provided by the user.
-
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
ConstructorsConstructorDescriptionServerMutation
(TMutation tmutation) ServerMutation
(org.apache.hadoop.io.Text key) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
droppingOldTimestamp
(long ts) boolean
long
long
int
hashCode()
protected ColumnUpdate
newColumnUpdate
(byte[] cf, byte[] cq, byte[] cv, boolean hasts, long ts, boolean deleted, byte[] val) void
readFields
(DataInput in) void
setSystemTimestamp
(long v) void
write
(DataOutput out) Methods inherited from class org.apache.accumulo.core.data.Mutation
addReplicationSource, at, equals, getReplicationSources, getRow, getSerializedFormat, getUpdates, 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, setReplicationSources, size, toThrift
-
Constructor Details
-
ServerMutation
-
ServerMutation
public ServerMutation(org.apache.hadoop.io.Text key) -
ServerMutation
public ServerMutation()
-
-
Method Details
-
droppingOldTimestamp
protected void droppingOldTimestamp(long ts) - Overrides:
droppingOldTimestamp
in classMutation
-
readFields
- Specified by:
readFields
in interfaceorg.apache.hadoop.io.Writable
- Overrides:
readFields
in classMutation
- Throws:
IOException
-
write
- Specified by:
write
in interfaceorg.apache.hadoop.io.Writable
- Overrides:
write
in classMutation
- Throws:
IOException
-
setSystemTimestamp
public void setSystemTimestamp(long v) -
getSystemTimestamp
public long getSystemTimestamp() -
newColumnUpdate
protected ColumnUpdate newColumnUpdate(byte[] cf, byte[] cq, byte[] cv, boolean hasts, long ts, boolean deleted, byte[] val) - Overrides:
newColumnUpdate
in classMutation
-
estimatedMemoryUsed
public long estimatedMemoryUsed()- Overrides:
estimatedMemoryUsed
in classMutation
-
equals
-
hashCode
public int hashCode()
-