Package org.apache.hadoop.hbase.types
Class OrderedString
A 
String of variable-length. Built on
 OrderedBytes.encodeString(PositionedByteRange, String, Order).- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OrderedStringDeprecated.since 3.0.0 and will be removed in 4.0.0static final OrderedStringDeprecated.since 3.0.0 and will be removed in 4.0.0Fields inherited from class org.apache.hadoop.hbase.types.OrderedBytesBase
order - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionRead an instance ofTfrom the buffersrc.intencode(PositionedByteRange dst, String val) Write instancevalinto bufferdst.Inform consumers over what type thisDataTypeoperates.intencodedLength(String val) Inform consumers how long the encodedbyte[]will be.Methods inherited from class org.apache.hadoop.hbase.types.OrderedBytesBase
getOrder, isNullable, isOrderPreserving, isSkippable, skip 
- 
Field Details
- 
ASCENDING
Deprecated.since 3.0.0 and will be removed in 4.0.0 - 
DESCENDING
Deprecated.since 3.0.0 and will be removed in 4.0.0 
 - 
 - 
Constructor Details
 - 
Method Details
- 
encodedLength
Description copied from interface:DataTypeInform consumers how long the encodedbyte[]will be.- Parameters:
 val- The value to check.- Returns:
 - the number of bytes required to encode 
val.a 
 - 
encodedClass
Description copied from interface:DataTypeInform consumers over what type thisDataTypeoperates. Useful when working with bareDataTypeinstances. - 
decode
Description copied from interface:DataTypeRead an instance ofTfrom the buffersrc.- Parameters:
 src- the buffer containing the encoded value.
 - 
encode
Description copied from interface:DataTypeWrite instancevalinto bufferdst.- Parameters:
 dst- the buffer containing the encoded value.val- the value to encode ontodst.- Returns:
 - number of bytes written.
 
 
 -