org.apache.accumulo.core.iterators
Class LongCombiner.FixedLenEncoder
java.lang.Object
org.apache.accumulo.core.iterators.LongCombiner.FixedLenEncoder
- All Implemented Interfaces:
- TypedValueCombiner.Encoder<Long>
- Enclosing class:
- LongCombiner
public static class LongCombiner.FixedLenEncoder
- extends Object
- implements TypedValueCombiner.Encoder<Long>
An Encoder that uses an 8-byte encoding for Longs.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LongCombiner.FixedLenEncoder
public LongCombiner.FixedLenEncoder()
encode
public byte[] encode(Long l)
- Specified by:
encode
in interface TypedValueCombiner.Encoder<Long>
decode
public Long decode(byte[] b)
- Specified by:
decode
in interface TypedValueCombiner.Encoder<Long>
decode
public static long decode(byte[] b,
int offset)
Copyright © 2015 Apache Accumulo Project. All rights reserved.