org.apache.hadoop.hbase.types
Class RawStringFixedLength

java.lang.Object
  extended by org.apache.hadoop.hbase.types.FixedLengthWrapper<String>
      extended by 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

Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.types.FixedLengthWrapper
base, length
 
Constructor Summary
RawStringFixedLength(int length)
          Create a RawStringFixedLength of the specified length.
RawStringFixedLength(Order order, int length)
          Create a RawStringFixedLength using the specified order and length.
 
Method Summary
 
Methods inherited from class org.apache.hadoop.hbase.types.FixedLengthWrapper
decode, encode, encodedClass, encodedLength, getLength, getOrder, isNullable, isOrderPreserving, isSkippable, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.