static class KeyOnlyFilter.KeyOnlyCell extends Object implements Cell
| Modifier and Type | Field and Description |
|---|---|
private Cell |
cell |
private int |
keyLen |
private boolean |
lenAsVal |
| Constructor and Description |
|---|
KeyOnlyCell(Cell c,
boolean lenAsVal) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getFamilyArray()
Contiguous bytes composed of legal HDFS filename characters which may start at any index in the
containing array.
|
byte |
getFamilyLength()
Returns Number of family bytes.
|
int |
getFamilyOffset()
Returns Array index of first family byte
|
byte[] |
getQualifierArray()
Contiguous raw bytes that may start at any index in the containing array.
|
int |
getQualifierLength()
Returns Number of qualifier bytes.
|
int |
getQualifierOffset()
Returns Array index of first qualifier byte
|
byte[] |
getRowArray()
Contiguous raw bytes that may start at any index in the containing array.
|
short |
getRowLength()
Returns Number of row bytes.
|
int |
getRowOffset()
Returns Array index of first row byte
|
long |
getSequenceId()
A region-specific unique monotonically increasing sequence ID given to each Cell.
|
int |
getSerializedSize()
Returns Serialized size (defaults to include tag length if has some tags).
|
byte[] |
getTagsArray()
Contiguous raw bytes representing tags that may start at any index in the containing array.
|
int |
getTagsLength()
HBase internally uses 2 bytes to store tags length in Cell.
|
int |
getTagsOffset()
Return the first offset where the tags start in the Cell
|
long |
getTimestamp()
Return a long value representing time at which this cell was "Put" into the row.
|
Cell.Type |
getType()
Returns the type of cell in a human readable format using
Cell.Type. |
byte |
getTypeByte()
Return the byte representation of the KeyValue.TYPE of this cell: one of Put, Delete, etc
|
byte[] |
getValueArray()
Contiguous raw bytes that may start at any index in the containing array.
|
int |
getValueLength()
Returns Number of value bytes.
|
int |
getValueOffset()
Returns Array index of first value byte
|
long |
heapSize()
Return the approximate 'exclusive deep size' of implementing object.
|
public KeyOnlyCell(Cell c, boolean lenAsVal)
public byte[] getRowArray()
CellgetRowArray in interface Cellpublic int getRowOffset()
CellgetRowOffset in interface Cellpublic short getRowLength()
CellgetRowLength in interface Cellpublic byte[] getFamilyArray()
CellgetFamilyArray in interface Cellpublic int getFamilyOffset()
CellgetFamilyOffset in interface Cellpublic byte getFamilyLength()
CellgetFamilyLength in interface Cellpublic byte[] getQualifierArray()
CellgetQualifierArray in interface Cellpublic int getQualifierOffset()
CellgetQualifierOffset in interface Cellpublic int getQualifierLength()
CellgetQualifierLength in interface Cellpublic long getTimestamp()
CellgetTimestamp in interface Cellpublic byte getTypeByte()
CellgetTypeByte in interface Cellpublic Cell.Type getType()
CellCell.Type. Note : This does not
expose the internal types of Cells like KeyValue.Type.Maximum and
KeyValue.Type.Minimumpublic long getSequenceId()
CellHConstants.KEEP_SEQID_PERIOD days, but generally becomes irrelevant after the cell's
row is no longer involved in any operations that require strict consistency.getSequenceId in interface Cellpublic byte[] getValueArray()
CellgetValueArray in interface Cellpublic int getValueOffset()
CellgetValueOffset in interface Cellpublic int getValueLength()
CellgetValueLength in interface Cellpublic int getSerializedSize()
CellgetSerializedSize in interface Cellpublic byte[] getTagsArray()
CellgetTagsArray in interface Cellpublic int getTagsOffset()
CellgetTagsOffset in interface Cellpublic int getTagsLength()
CellgetTagsLength in interface CellCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.