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
public static class LongCombiner.FixedLenEncoder extends AbstractLexicoder<Long>
An Encoder that uses an 8-byte encoding for Longs.
-
-
Constructor Summary
Constructors Constructor Description FixedLenEncoder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Longdecode(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[]encode(Long l)-
Methods inherited from class org.apache.accumulo.core.client.lexicoder.AbstractEncoder
decode
-
-
-
-
Method Detail
-
encode
public byte[] encode(Long l)
-
decode
public Long decode(byte[] b)
-
decodeUnchecked
protected Long decodeUnchecked(byte[] b, int offset, int len)
Description copied from class:AbstractEncoderDecodes a byte array without checking if the offset and len exceed the bounds of the actual array.- Specified by:
decodeUncheckedin classAbstractEncoder<Long>
-
decode
public static long decode(byte[] b, int offset)
-
decodeStatic
public static long decodeStatic(byte[] b, int offset, int len)
-
-