Package org.apache.hadoop.hbase.types
Class RawStringTerminated
java.lang.Object
org.apache.hadoop.hbase.types.TerminatedWrapper<String>
org.apache.hadoop.hbase.types.RawStringTerminated
An
DataType that encodes variable-length values encoded using
Bytes.toBytes(String). Includes a termination marker
following the raw byte[] value. Intended to make it easier to transition away from direct
use of Bytes.-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.types.TerminatedWrapper
term, wrapped -
Constructor Summary
ConstructorsConstructorDescriptionRawStringTerminated(byte[] term) Create aRawStringTerminatedusing the specified terminator.RawStringTerminated(String term) Create aRawStringTerminatedusing the specified terminator.RawStringTerminated(Order order, byte[] term) Create aRawStringTerminatedusing the specified terminator andorder.RawStringTerminated(Order order, String term) Create aRawStringTerminatedusing the specified terminator andorder. -
Method Summary
Methods inherited from class org.apache.hadoop.hbase.types.TerminatedWrapper
decode, encode, encodedClass, encodedLength, getOrder, isNullable, isOrderPreserving, isSkippable, skip, terminatorPosition
-
Constructor Details
-
RawStringTerminated
Create aRawStringTerminatedusing the specified terminator andorder.- Throws:
IllegalArgumentException- iftermisnullor empty.
-
RawStringTerminated
Create aRawStringTerminatedusing the specified terminator andorder.- Throws:
IllegalArgumentException- iftermisnullor empty.
-
RawStringTerminated
Create aRawStringTerminatedusing the specified terminator.- Throws:
IllegalArgumentException- iftermisnullor empty.
-
RawStringTerminated
Create aRawStringTerminatedusing the specified terminator.- Throws:
IllegalArgumentException- iftermisnullor empty.
-