@InterfaceAudience.Public public class RawStringFixedLength extends FixedLengthWrapper<String>
DataType
that encodes fixed-length values encoded using
Bytes.toBytes(String)
.
Intended to make it easier to transition away from direct use of
Bytes
.base, length
Constructor and Description |
---|
RawStringFixedLength(int length)
Create a
RawStringFixedLength of the specified length . |
RawStringFixedLength(Order order,
int length)
Create a
RawStringFixedLength using the specified
order and length . |
decode, encode, encodedClass, encodedLength, getLength, getOrder, isNullable, isOrderPreserving, isSkippable, skip
public RawStringFixedLength(Order order, int length)
RawStringFixedLength
using the specified
order
and length
.public RawStringFixedLength(int length)
RawStringFixedLength
of the specified length
.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.