Package org.apache.hadoop.hbase.types
Class RawStringFixedLength
java.lang.Object
org.apache.hadoop.hbase.types.FixedLengthWrapper<String>
org.apache.hadoop.hbase.types.RawStringFixedLength
An
DataType
that encodes fixed-length values encoded using
Bytes.toBytes(String)
. Intended to make it easier to
transition away from direct use of Bytes
.-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.types.FixedLengthWrapper
base, length
-
Constructor Summary
ConstructorDescriptionRawStringFixedLength
(int length) Create aRawStringFixedLength
of the specifiedlength
.RawStringFixedLength
(Order order, int length) Create aRawStringFixedLength
using the specifiedorder
andlength
. -
Method Summary
Methods inherited from class org.apache.hadoop.hbase.types.FixedLengthWrapper
decode, encode, encodedClass, encodedLength, getLength, getOrder, isNullable, isOrderPreserving, isSkippable, skip
-
Constructor Details
-
RawStringFixedLength
Create aRawStringFixedLength
using the specifiedorder
andlength
. -
RawStringFixedLength
Create aRawStringFixedLength
of the specifiedlength
.
-