Package org.apache.accumulo.core.data
Class ColumnUpdate
java.lang.Object
org.apache.accumulo.core.data.ColumnUpdate
A single column and value pair within a 
Mutation.- 
Constructor SummaryConstructorsConstructorDescriptionColumnUpdate(byte[] cf, byte[] cq, byte[] cv, boolean hasts, long ts, boolean deleted, byte[] val) Creates a new column update.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanbyte[]Gets the column family for this update.byte[]Gets the column qualifier for this update.byte[]Gets the column visibility for this update.longGets the timestamp for this update.byte[]getValue()Gets the cell value for this update.inthashCode()booleanGets whether this update specifies a timestamp.booleanGets the delete marker for this update.toString()
- 
Constructor Details- 
ColumnUpdatepublic ColumnUpdate(byte[] cf, byte[] cq, byte[] cv, boolean hasts, long ts, boolean deleted, byte[] val) Creates a new column update.- Parameters:
- cf- column family
- cq- column qualifier
- cv- column visibility
- hasts- true if the update specifies a timestamp
- ts- timestamp
- deleted- delete marker
- val- cell value
 
 
- 
- 
Method Details- 
hasTimestamppublic boolean hasTimestamp()Gets whether this update specifies a timestamp.- Returns:
- true if this update specifies a timestamp
 
- 
getColumnFamilypublic byte[] getColumnFamily()Gets the column family for this update. Not a defensive copy.- Returns:
- column family
 
- 
getColumnQualifierpublic byte[] getColumnQualifier()Gets the column qualifier for this update. Not a defensive copy.- Returns:
- column qualifier
 
- 
getColumnVisibilitypublic byte[] getColumnVisibility()Gets the column visibility for this update.- Returns:
- column visibility
 
- 
getTimestamppublic long getTimestamp()Gets the timestamp for this update.- Returns:
- timestamp
 
- 
isDeletedpublic boolean isDeleted()Gets the delete marker for this update.- Returns:
- delete marker
 
- 
getValuepublic byte[] getValue()Gets the cell value for this update.- Returns:
- cell value
 
- 
toString
- 
equals
- 
hashCodepublic int hashCode()
 
-