Class RawStringFixedLength

java.lang.Object
org.apache.hadoop.hbase.types.FixedLengthWrapper<String>
org.apache.hadoop.hbase.types.RawStringFixedLength
All Implemented Interfaces:
DataType<String>

@Public 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:
  • Constructor Details

    • 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.