Class ULongLexicoder
java.lang.Object
org.apache.accumulo.core.client.lexicoder.AbstractEncoder<T>
org.apache.accumulo.core.client.lexicoder.impl.AbstractLexicoder<Long>
org.apache.accumulo.core.client.lexicoder.ULongLexicoder
- All Implemented Interfaces:
Encoder<Long>
,Lexicoder<Long>
,org.apache.accumulo.core.iterators.TypedValueCombiner.Encoder<Long>
- Direct Known Subclasses:
LongLexicoder
public class ULongLexicoder
extends org.apache.accumulo.core.client.lexicoder.impl.AbstractLexicoder<Long>
Unsigned long lexicoder. The lexicographic encoding sorts first 0l and -1l last. This encoding
does not correspond to the sort of Long because it does not consider the sign bit. If Java had an
unsigned long type, this encoder 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
-
ULongLexicoder
public ULongLexicoder()
-
-
Method Details
-
encode
-
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<Long>
-
decode
- Specified by:
decode
in interfaceorg.apache.accumulo.core.iterators.TypedValueCombiner.Encoder<Long>
- Overrides:
decode
in classAbstractEncoder<Long>
-