public static class KeyValue.KeyOnlyKeyValue extends KeyValue
KeyValue.KeyOnlyKeyValue, KeyValue.KVComparator, KeyValue.MetaComparator, KeyValue.RawBytesComparator, KeyValue.RowOnlyComparator, KeyValue.SamePrefixComparator<T>, KeyValue.Typebytes, COLUMN_FAMILY_DELIM_ARRAY, COLUMN_FAMILY_DELIMITER, COMPARATOR, FAMILY_LENGTH_SIZE, KEY_INFRASTRUCTURE_SIZE, KEY_LENGTH_SIZE, KEYVALUE_INFRASTRUCTURE_SIZE, KEYVALUE_WITH_TAGS_INFRASTRUCTURE_SIZE, length, LOWESTKEY, META_COMPARATOR, offset, RAW_COMPARATOR, ROW_LENGTH_SIZE, ROW_OFFSET, TAGS_LENGTH_SIZE, TIMESTAMP_SIZE, TIMESTAMP_TYPE_SIZE, TYPE_SIZE| 构造器和说明 |
|---|
KeyValue.KeyOnlyKeyValue() |
KeyValue.KeyOnlyKeyValue(byte[] b) |
KeyValue.KeyOnlyKeyValue(byte[] b,
int offset,
int length) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object other)
Needed doing 'contains' on List.
|
byte[] |
getFamilyArray()
Contiguous bytes composed of legal HDFS filename characters which may start at any index in the
containing array.
|
byte |
getFamilyLength() |
int |
getFamilyOffset() |
byte[] |
getKey()
Do not use unless you have to.
|
int |
getKeyLength() |
int |
getKeyOffset() |
byte[] |
getQualifierArray()
Contiguous raw bytes that may start at any index in the containing array.
|
int |
getQualifierLength() |
int |
getQualifierOffset() |
byte[] |
getRowArray()
Contiguous raw bytes that may start at any index in the containing array.
|
short |
getRowLength() |
int |
getRowOffset() |
byte[] |
getTagsArray() |
int |
getTagsLength()
This returns the total length of the tag bytes
|
int |
getTagsOffset()
This returns the offset where the tag actually starts.
|
long |
getTimestamp() |
int |
getTimestampOffset() |
byte |
getTypeByte() |
byte[] |
getValueArray()
Contiguous raw bytes that may start at any index in the containing array.
|
int |
getValueLength() |
int |
getValueOffset() |
int |
hashCode()
In line with
KeyValue.equals(Object), only uses the key portion, not the value. |
void |
setKey(byte[] key,
int offset,
int length)
A setter that helps to avoid object creation every time and whenever
there is a need to create new KeyOnlyKeyValue.
|
String |
toString() |
clone, cloneAndAddTags, create, create, createFirstOnRow, createFirstOnRow, createFirstOnRow, createKeyOnly, createKeyValueFromKey, createKeyValueFromKey, createKeyValueFromKey, getBuffer, getDelimiter, getDelimiterInReverse, getFamily, getFamilyLength, getKeyDataStructureSize, getKeyString, getKeyValueDataStructureSize, getKeyValueDataStructureSize, getKeyValueDataStructureSize, getLength, getMvccVersion, getOffset, getQualifier, getRow, getSequenceId, getTags, getType, getValue, heapSize, heapSizeWithoutTags, humanReadableTimestamp, iscreate, isDelete, isDelete, isLatestTimestamp, keyToString, keyToString, makeColumn, oswrite, oswrite, parseColumn, setSequenceId, setTimestamp, setTimestamp, shallowCopy, toStringMap, updateLatestStamp, write, writeByteArraypublic KeyValue.KeyOnlyKeyValue()
public KeyValue.KeyOnlyKeyValue(byte[] b)
public KeyValue.KeyOnlyKeyValue(byte[] b,
int offset,
int length)
public int getKeyOffset()
getKeyOffset 在类中 KeyValuepublic void setKey(byte[] key,
int offset,
int length)
key - offset - length - public byte[] getKey()
KeyValueKeyValue.getRow(), KeyValue.getFamily(), KeyValue.getQualifier(), and
KeyValue.getValue() if accessing a KeyValue client-side.public byte[] getRowArray()
CellgetRowArray 在接口中 CellgetRowArray 在类中 KeyValuepublic int getRowOffset()
getRowOffset 在接口中 CellgetRowOffset 在类中 KeyValuepublic byte[] getFamilyArray()
CellgetFamilyArray 在接口中 CellgetFamilyArray 在类中 KeyValuepublic byte getFamilyLength()
getFamilyLength 在接口中 CellgetFamilyLength 在类中 KeyValuepublic int getFamilyOffset()
getFamilyOffset 在接口中 CellgetFamilyOffset 在类中 KeyValuepublic byte[] getQualifierArray()
CellgetQualifierArray 在接口中 CellgetQualifierArray 在类中 KeyValuepublic int getQualifierLength()
getQualifierLength 在接口中 CellgetQualifierLength 在类中 KeyValuepublic int getQualifierOffset()
getQualifierOffset 在接口中 CellgetQualifierOffset 在类中 KeyValuepublic int getKeyLength()
getKeyLength 在类中 KeyValuepublic short getRowLength()
getRowLength 在接口中 CellgetRowLength 在类中 KeyValuepublic byte getTypeByte()
getTypeByte 在接口中 CellgetTypeByte 在类中 KeyValuepublic long getTimestamp()
getTimestamp 在接口中 CellgetTimestamp 在类中 KeyValuepublic int getTimestampOffset()
getTimestampOffset 在类中 KeyValuepublic byte[] getTagsArray()
getTagsArray 在接口中 CellgetTagsArray 在类中 KeyValuepublic int getTagsOffset()
KeyValuegetTagsOffset 在接口中 CellgetTagsOffset 在类中 KeyValuepublic byte[] getValueArray()
CellgetValueArray 在接口中 CellgetValueArray 在类中 KeyValuepublic int getValueOffset()
getValueOffset 在接口中 CellgetValueOffset 在类中 KeyValuepublic int getValueLength()
getValueLength 在接口中 CellgetValueLength 在类中 KeyValuepublic int getTagsLength()
KeyValuegetTagsLength 在接口中 CellgetTagsLength 在类中 KeyValuepublic int hashCode()
KeyValueKeyValue.equals(Object), only uses the key portion, not the value.Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.