org.apache.hadoop.hbase
Class NoTagsKeyValue

java.lang.Object
  extended by org.apache.hadoop.hbase.KeyValue
      extended by org.apache.hadoop.hbase.NoTagsKeyValue
All Implemented Interfaces:
Cloneable, Cell, HeapSize

@InterfaceAudience.Private
public class NoTagsKeyValue
extends KeyValue

An extension of the KeyValue where the tags length is always 0


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.KeyValue
KeyValue.KVComparator, KeyValue.MetaComparator, KeyValue.RawBytesComparator, KeyValue.RowOnlyComparator, KeyValue.SamePrefixComparator<T>, KeyValue.Type
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.KeyValue
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, LOWESTKEY, META_COMPARATOR, RAW_COMPARATOR, ROW_LENGTH_SIZE, ROW_OFFSET, TAGS_LENGTH_SIZE, TIMESTAMP_SIZE, TIMESTAMP_TYPE_SIZE, TYPE_SIZE
 
Constructor Summary
NoTagsKeyValue(byte[] bytes, int offset, int length)
           
 
Method Summary
 short getTagsLength()
          Deprecated. 
 int getTagsLengthUnsigned()
          Deprecated. 
 
Methods inherited from class org.apache.hadoop.hbase.KeyValue
clone, cloneAndAddTags, create, create, createFirstDeleteFamilyOnRow, createFirstOnRow, createFirstOnRow, createFirstOnRow, createFirstOnRow, createFirstOnRow, createFirstOnRow, createFirstOnRow, createFirstOnRow, createFirstOnRowColTS, createKeyOnly, createKeyValueFromKey, createKeyValueFromKey, createKeyValueFromKey, createLastOnRow, createLastOnRow, createLastOnRowCol, equals, getBuffer, getDelimiter, getDelimiterInReverse, getFamily, getFamilyArray, getFamilyLength, getFamilyLength, getFamilyOffset, getKey, getKeyDataStructureSize, getKeyLength, getKeyOffset, getKeyString, getKeyValueDataStructureSize, getKeyValueDataStructureSize, getKeyValueDataStructureSize, getLength, getMvccVersion, getOffset, getQualifier, getQualifierArray, getQualifierLength, getQualifierOffset, getRow, getRowArray, getRowLength, getRowOffset, getTags, getTagsArray, getTagsOffset, getTimestamp, getTimestampOffset, getType, getTypeByte, getValue, getValueArray, getValueLength, getValueOffset, hashCode, heapSize, heapSizeWithoutTags, humanReadableTimestamp, iscreate, isDelete, isDelete, isDeleteColumnOrFamily, isDeleteFamily, isDeleteFamilyVersion, isDeleteType, isLatestTimestamp, keyToString, keyToString, makeColumn, matchingColumn, matchingColumn, matchingFamily, matchingQualifier, matchingQualifier, matchingQualifier, matchingRow, matchingRow, matchingRow, oswrite, oswrite, parseColumn, setMvccVersion, shallowCopy, toString, toStringMap, updateLatestStamp, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoTagsKeyValue

public NoTagsKeyValue(byte[] bytes,
                      int offset,
                      int length)
Method Detail

getTagsLength

@Deprecated
public short getTagsLength()
Deprecated. 

Specified by:
getTagsLength in interface Cell
Overrides:
getTagsLength in class KeyValue
Returns:
the total length of the tags in the Cell.

getTagsLengthUnsigned

@Deprecated
public int getTagsLengthUnsigned()
Deprecated. 

This returns the total length of the tag bytes

Specified by:
getTagsLengthUnsigned in interface Cell
Overrides:
getTagsLengthUnsigned in class KeyValue
Returns:
the total length of the tags in the Cell.


Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.