Class LongLexicoder
java.lang.Object
org.apache.accumulo.core.client.lexicoder.AbstractEncoder<T>
org.apache.accumulo.core.client.lexicoder.AbstractLexicoder<Long>
org.apache.accumulo.core.client.lexicoder.ULongLexicoder
org.apache.accumulo.core.client.lexicoder.LongLexicoder
Signed long lexicoder. The encoding sorts Long.MIN_VALUE first and Long.MAX_VALUE last. The
 encoding sorts -2l before -1l. It corresponds to the native Java sort order of Long.
- Since:
- 1.6.0
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected LongdecodeUnchecked(byte[] data, int offset, int len) Decodes a byte array without checking if the offset and len exceed the bounds of the actual array.byte[]Methods inherited from class org.apache.accumulo.core.client.lexicoder.ULongLexicoderdecodeMethods inherited from class org.apache.accumulo.core.client.lexicoder.AbstractEncoderdecode
- 
Constructor Details- 
LongLexicoderpublic LongLexicoder()
 
- 
- 
Method Details- 
encode- Specified by:
- encodein interface- Encoder<Long>
- Overrides:
- encodein class- ULongLexicoder
 
- 
decodeUncheckedDescription copied from class:AbstractEncoderDecodes a byte array without checking if the offset and len exceed the bounds of the actual array.- Overrides:
- decodeUncheckedin class- ULongLexicoder
 
 
-