Package org.apache.accumulo.core.client.lexicoder

  • Interface Summary 
    Interface Description
    Encoder<T>
    An encoder represents a typed object that can be encoded/decoded to/from a byte array.
    Lexicoder<T>
    A lexicoder provides methods to convert to/from byte arrays.
  • Class Summary 
    Class Description
    AbstractEncoder<T>
    AbstractEncoder is an Encoder that implements all of Encoder's methods validating the input, but has those methods defer logic to to a new method, AbstractEncoder.decodeUnchecked(byte[], int, int).
    BigIntegerLexicoder
    A lexicoder to encode/decode a BigInteger to/from bytes that maintain its native Java sort order.
    BytesLexicoder
    For each of the methods, this lexicoder just passes the input through untouched.
    DateLexicoder
    A lexicoder for date objects.
    DoubleLexicoder
    A lexicoder for preserving the native Java sort order of Double values.
    FloatLexicoder
    A lexicoder for preserving the native Java sort order of Float values.
    IntegerLexicoder
    A lexicoder for signed integers.
    ListLexicoder<LT>
    A lexicoder to encode/decode a Java List to/from a byte array where the concatenation of each encoded element sorts lexicographically.
    LongLexicoder
    Signed long lexicoder.
    PairLexicoder<A extends Comparable<A>,​B extends Comparable<B>>
    This class is a lexicoder that sorts a ComparablePair.
    ReverseLexicoder<T>
    A lexicoder that flips the sort order from another lexicoder.
    StringLexicoder
    This lexicoder encodes/decodes a given String to/from bytes without further processing.
    TextLexicoder
    A lexicoder that preserves a Text's native sort order.
    UIntegerLexicoder
    A lexicoder for an unsigned integer.
    ULongLexicoder
    Unsigned long lexicoder.
    UUIDLexicoder
    A lexicoder for a UUID that maintains its lexicographic sorting order.