Class LongCombiner.FixedLenEncoder
java.lang.Object
org.apache.accumulo.core.client.lexicoder.AbstractEncoder<T>
org.apache.accumulo.core.client.lexicoder.AbstractLexicoder<Long>
org.apache.accumulo.core.iterators.LongCombiner.FixedLenEncoder
- Enclosing class:
- LongCombiner
An Encoder that uses an 8-byte encoding for Longs.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondecode(byte[] b) static longdecode(byte[] b, int offset) static longdecodeStatic(byte[] b, int offset, int len) protected LongdecodeUnchecked(byte[] b, 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.AbstractEncoderdecode
- 
Constructor Details- 
FixedLenEncoderpublic FixedLenEncoder()
 
- 
- 
Method Details- 
encode
- 
decode
- 
decodeUncheckedDescription copied from class:AbstractEncoderDecodes a byte array without checking if the offset and len exceed the bounds of the actual array.- Specified by:
- decodeUncheckedin class- AbstractEncoder<Long>
 
- 
decodepublic static long decode(byte[] b, int offset) 
- 
decodeStaticpublic static long decodeStatic(byte[] b, int offset, int len) 
 
-