Class IntegerLexicoder
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.IntegerLexicoder
A lexicoder for signed integers. The encoding sorts Integer.MIN_VALUE first and Integer.MAX_VALUE
last. The encoding sorts -2 before -1. It corresponds to the sort order of Integer.
- Since:
- 1.6.0
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.accumulo.core.client.lexicoder.AbstractEncoder
decode
-
Constructor Details
-
IntegerLexicoder
public IntegerLexicoder()
-
-
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>
-