org.apache.accumulo.server.data
Class ServerMutation

java.lang.Object
  extended by org.apache.accumulo.core.data.Mutation
      extended by org.apache.accumulo.server.data.ServerMutation
All Implemented Interfaces:
org.apache.hadoop.io.Writable

public class ServerMutation
extends Mutation

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.SERIALIZED_FORMAT
 
Constructor Summary
ServerMutation()
           
ServerMutation(org.apache.hadoop.io.Text key)
           
ServerMutation(TMutation tmutation)
           
 
Method Summary
protected  void droppingOldTimestamp(long ts)
           
 long estimatedMemoryUsed()
           
 long getSystemTimestamp()
           
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
equals, equals, getRow, getSerializedFormat, getUpdates, hashCode, 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, size, toThrift
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerMutation

public ServerMutation(TMutation tmutation)

ServerMutation

public ServerMutation(org.apache.hadoop.io.Text key)

ServerMutation

public ServerMutation()
Method Detail

droppingOldTimestamp

protected void droppingOldTimestamp(long ts)
Overrides:
droppingOldTimestamp in class Mutation

readFields

public void readFields(DataInput in)
                throws IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Overrides:
readFields in class Mutation
Throws:
IOException

write

public void write(DataOutput out)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Overrides:
write in class Mutation
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 class Mutation

estimatedMemoryUsed

public long estimatedMemoryUsed()
Overrides:
estimatedMemoryUsed in class Mutation


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.