org.apache.accumulo.core.iterators
Class LongCombiner.FixedLenEncoder

java.lang.Object
  extended by 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.


Constructor Summary
LongCombiner.FixedLenEncoder()
           
 
Method Summary
 Long decode(byte[] b)
           
static long decode(byte[] b, int offset)
           
 byte[] encode(Long l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongCombiner.FixedLenEncoder

public LongCombiner.FixedLenEncoder()
Method Detail

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.