Package org.apache.hadoop.hbase
Class PrivateCellUtil.FirstOnRowCell
java.lang.Object
org.apache.hadoop.hbase.PrivateCellUtil.EmptyCell
org.apache.hadoop.hbase.PrivateCellUtil.FirstOnRowCell
- All Implemented Interfaces:
Cell,ExtendedCell,HeapSize,RawCell
- Direct Known Subclasses:
PrivateCellUtil.FirstOnRowColCell
- Enclosing class:
- PrivateCellUtil
-
Nested Class Summary
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate final shortprivate final intprivate final byte[]Fields inherited from interface org.apache.hadoop.hbase.ExtendedCell
CELL_NOT_BASED_ON_CHUNKFields inherited from interface org.apache.hadoop.hbase.RawCell
MAX_TAGS_LENGTH -
Constructor Summary
Constructors -
Method Summary
Modifier 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()Returns the type of cell in a human readable format usingCell.Type.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.EmptyCell
getFamilyArray, getFamilyLength, getFamilyOffset, getQualifierArray, getQualifierLength, getQualifierOffset, getSequenceId, getTagsArray, getTagsLength, getTagsOffset, getValueArray, getValueLength, getValueOffset, setSequenceId, setTimestamp, setTimestampMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.ExtendedCell
deepClone, getChunkId, getSerializedSize, getSerializedSize, write, write
-
Field Details
-
FIXED_HEAPSIZE
-
rowArray
-
roffset
-
rlength
-
-
Constructor Details
-
FirstOnRowCell
-
-
Method Details
-
heapSize
Description copied from interface:HeapSizeReturn the approximate 'exclusive deep size' of implementing object. Includes count of payload and hosting object sizings. -
getRowArray
Description 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 interfaceCell- Overrides:
getRowArrayin classPrivateCellUtil.EmptyCell- Returns:
- The array containing the row bytes.
-
getRowOffset
Description copied from interface:CellReturns Array index of first row byte- Specified by:
getRowOffsetin interfaceCell- Overrides:
getRowOffsetin classPrivateCellUtil.EmptyCell
-
getRowLength
Description copied from interface:CellReturns Number of row bytes. Must be < rowArray.length - offset.- Specified by:
getRowLengthin interfaceCell- Overrides:
getRowLengthin classPrivateCellUtil.EmptyCell
-
getTimestamp
Description 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. -
getTypeByte
Description copied from interface:ExtendedCellReturns The byte representation of the KeyValue.TYPE of this cell: one of Put, Delete, etc -
getType
Description copied from interface:CellReturns the type of cell in a human readable format usingCell.Type. Note : This does not expose the internal types of Cells likeKeyValue.Type.MaximumandKeyValue.Type.Minimum- Returns:
- The data type this cell: one of Put, Delete, etc
-