Class UIntegerLexicoder
java.lang.Object
org.apache.accumulo.core.client.lexicoder.AbstractEncoder<T>
org.apache.accumulo.core.client.lexicoder.AbstractLexicoder<Integer>
org.apache.accumulo.core.client.lexicoder.UIntegerLexicoder
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.
- Since:
- 1.6.0
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.accumulo.core.client.lexicoder.AbstractEncoder
decode
-
Constructor Details
-
UIntegerLexicoder
public UIntegerLexicoder()
-
-
Method Details
-
encode
-
decode
-
decodeUnchecked
Description copied from class:AbstractEncoder
Decodes a byte array without checking if the offset and len exceed the bounds of the actual array.- Specified by:
decodeUnchecked
in classAbstractEncoder<Integer>
-