Class UIntegerLexicoder

  • All Implemented Interfaces:
    Encoder<Integer>, Lexicoder<Integer>

    public class UIntegerLexicoder
    extends org.apache.accumulo.core.clientImpl.lexicoder.AbstractLexicoder<Integer>
    A lexicoder for an unsigned integer. It sorts 0 before -1 and does not preserve the native sort order of a Java integer because Java does not contain an unsigned integer. If Java had an unsigned integer type, this would correspond to its sort order.