Package org.apache.hadoop.hbase
Class PrivateCellUtil.LastOnRowCell
java.lang.Object
org.apache.hadoop.hbase.PrivateCellUtil.EmptyCell
org.apache.hadoop.hbase.PrivateCellUtil.LastOnRowCell
- All Implemented Interfaces:
- Cell,- ExtendedCell,- HeapSize,- RawCell
- Direct Known Subclasses:
- PrivateCellUtil.LastOnRowColCell
- Enclosing class:
- PrivateCellUtil
- 
Nested Class Summary
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final intprivate final shortprivate final intprivate final byte[]Fields inherited from interface org.apache.hadoop.hbase.ExtendedCellCELL_NOT_BASED_ON_CHUNKFields inherited from interface org.apache.hadoop.hbase.RawCellMAX_TAGS_LENGTH
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbyte[]Contiguous raw bytes that may start at any index in the containing array.shortReturns Number of row bytes.intReturns Array index of first row bytelongReturn a long value representing time at which this cell was "Put" into the row.getType()Typically, at server side, you'd better always use theExtendedCell.getTypeByte()as this method does not expose theMaximumandMinimumbecause they will not be returned to client, but at server side, we do have cells with these types so if you use this method it will cause exceptions.byteReturns The byte representation of the KeyValue.TYPE of this cell: one of Put, Delete, etclongheapSize()Return the approximate 'exclusive deep size' of implementing object.Methods inherited from class org.apache.hadoop.hbase.PrivateCellUtil.EmptyCellgetFamilyArray, getFamilyLength, getFamilyOffset, getQualifierArray, getQualifierLength, getQualifierOffset, getSequenceId, getTagsArray, getTagsLength, getTagsOffset, getValueArray, getValueLength, getValueOffset, setSequenceId, setTimestamp, setTimestampMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.ExtendedCelldeepClone, getChunkId, getSerializedSize, getSerializedSize, write, write
- 
Field Details- 
FIXED_OVERHEAD
- 
rowArray
- 
roffset
- 
rlength
 
- 
- 
Constructor Details- 
LastOnRowCell
 
- 
- 
Method Details- 
heapSizeDescription copied from interface:HeapSizeReturn the approximate 'exclusive deep size' of implementing object. Includes count of payload and hosting object sizings.
- 
getRowArrayDescription copied from interface:CellContiguous raw bytes that may start at any index in the containing array. Max length is Short.MAX_VALUE which is 32,767 bytes.- Specified by:
- getRowArrayin interface- Cell
- Overrides:
- getRowArrayin class- PrivateCellUtil.EmptyCell
- Returns:
- The array containing the row bytes.
 
- 
getRowOffsetDescription copied from interface:CellReturns Array index of first row byte- Specified by:
- getRowOffsetin interface- Cell
- Overrides:
- getRowOffsetin class- PrivateCellUtil.EmptyCell
 
- 
getRowLengthDescription copied from interface:CellReturns Number of row bytes. Must be < rowArray.length - offset.- Specified by:
- getRowLengthin interface- Cell
- Overrides:
- getRowLengthin class- PrivateCellUtil.EmptyCell
 
- 
getTimestampDescription copied from interface:CellReturn a long value representing time at which this cell was "Put" into the row. Typically represents the time of insertion, but can be any value from 0 to Long.MAX_VALUE.
- 
getTypeByteDescription copied from interface:ExtendedCellReturns The byte representation of the KeyValue.TYPE of this cell: one of Put, Delete, etc
- 
getTypeDescription copied from interface:ExtendedCellTypically, at server side, you'd better always use theExtendedCell.getTypeByte()as this method does not expose theMaximumandMinimumbecause they will not be returned to client, but at server side, we do have cells with these types so if you use this method it will cause exceptions.- Returns:
- The data type this cell: one of Put, Delete, etc
 
 
-