Package org.apache.hadoop.hbase
Class PrivateCellUtil.LastOnRowColCell
java.lang.Object
org.apache.hadoop.hbase.PrivateCellUtil.EmptyCell
org.apache.hadoop.hbase.PrivateCellUtil.LastOnRowCell
org.apache.hadoop.hbase.PrivateCellUtil.LastOnRowColCell
- All Implemented Interfaces:
Cell
,ExtendedCell
,HeapSize
,RawCell
- Enclosing class:
- PrivateCellUtil
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final byte[]
private static final long
private final byte
private final int
private final byte[]
private final int
private final int
Fields inherited from interface org.apache.hadoop.hbase.ExtendedCell
CELL_NOT_BASED_ON_CHUNK
Fields inherited from interface org.apache.hadoop.hbase.RawCell
MAX_TAGS_LENGTH
-
Constructor Summary
ConstructorDescriptionLastOnRowColCell
(byte[] rArray, int roffset, short rlength, byte[] fArray, int foffset, byte flength, byte[] qArray, int qoffset, int qlength) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Contiguous bytes composed of legal HDFS filename characters which may start at any index in the containing array.byte
Returns Number of family bytes.int
Returns Array index of first family bytebyte[]
Contiguous raw bytes that may start at any index in the containing array.int
Returns Number of qualifier bytes.int
Returns Array index of first qualifier bytelong
heapSize()
Return the approximate 'exclusive deep size' of implementing object.Methods inherited from class org.apache.hadoop.hbase.PrivateCellUtil.LastOnRowCell
getRowArray, getRowLength, getRowOffset, getTimestamp, getType, getTypeByte
Methods inherited from class org.apache.hadoop.hbase.PrivateCellUtil.EmptyCell
getSequenceId, getTagsArray, getTagsLength, getTagsOffset, getValueArray, getValueLength, getValueOffset, setSequenceId, setTimestamp, setTimestamp
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.ExtendedCell
deepClone, getChunkId, getSerializedSize, getSerializedSize, write, write
-
Field Details
-
FIXED_OVERHEAD
-
fArray
-
foffset
-
flength
-
qArray
-
qoffset
-
qlength
-
-
Constructor Details
-
LastOnRowColCell
public LastOnRowColCell(byte[] rArray, int roffset, short rlength, byte[] fArray, int foffset, byte flength, byte[] qArray, int qoffset, int qlength)
-
-
Method Details
-
heapSize
Description copied from interface:HeapSize
Return the approximate 'exclusive deep size' of implementing object. Includes count of payload and hosting object sizings.- Specified by:
heapSize
in interfaceHeapSize
- Overrides:
heapSize
in classPrivateCellUtil.LastOnRowCell
-
getFamilyArray
Description copied from interface:Cell
Contiguous bytes composed of legal HDFS filename characters which may start at any index in the containing array. Max length is Byte.MAX_VALUE, which is 127 bytes.- Specified by:
getFamilyArray
in interfaceCell
- Overrides:
getFamilyArray
in classPrivateCellUtil.EmptyCell
- Returns:
- the array containing the family bytes.
-
getFamilyOffset
Description copied from interface:Cell
Returns Array index of first family byte- Specified by:
getFamilyOffset
in interfaceCell
- Overrides:
getFamilyOffset
in classPrivateCellUtil.EmptyCell
-
getFamilyLength
Description copied from interface:Cell
Returns Number of family bytes. Must be < familyArray.length - offset.- Specified by:
getFamilyLength
in interfaceCell
- Overrides:
getFamilyLength
in classPrivateCellUtil.EmptyCell
-
getQualifierArray
Description copied from interface:Cell
Contiguous raw bytes that may start at any index in the containing array.- Specified by:
getQualifierArray
in interfaceCell
- Overrides:
getQualifierArray
in classPrivateCellUtil.EmptyCell
- Returns:
- The array containing the qualifier bytes.
-
getQualifierOffset
Description copied from interface:Cell
Returns Array index of first qualifier byte- Specified by:
getQualifierOffset
in interfaceCell
- Overrides:
getQualifierOffset
in classPrivateCellUtil.EmptyCell
-
getQualifierLength
Description copied from interface:Cell
Returns Number of qualifier bytes. Must be < qualifierArray.length - offset.- Specified by:
getQualifierLength
in interfaceCell
- Overrides:
getQualifierLength
in classPrivateCellUtil.EmptyCell
-