org.apache.hadoop.hbase.types
Class RawStringFixedLength
java.lang.Object
org.apache.hadoop.hbase.types.FixedLengthWrapper<String>
org.apache.hadoop.hbase.types.RawStringFixedLength
- All Implemented Interfaces:
- DataType<String>
@InterfaceAudience.Public
@InterfaceStability.Evolving
public class RawStringFixedLength
- extends FixedLengthWrapper<String>
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
.
- See Also:
Bytes.toBytes(String)
,
Bytes.toString(byte[], int, int)
,
RawString
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RawStringFixedLength
public RawStringFixedLength(Order order,
int length)
- Create a
RawStringFixedLength
using the specified
order
and length
.
RawStringFixedLength
public RawStringFixedLength(int length)
- Create a
RawStringFixedLength
of the specified length
.
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.