Class LongSummation
- java.lang.Object
-
- org.apache.accumulo.core.iterators.aggregation.LongSummation
-
- All Implemented Interfaces:
Aggregator
@Deprecated public class LongSummation extends Object implements Aggregator
Deprecated.since 1.4, replaced bySummingCombiner
withLongCombiner.Type.FIXEDLEN
-
-
Constructor Summary
Constructors Constructor Description LongSummation()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Value
aggregate()
Deprecated.static long
bytesToLong(byte[] b)
Deprecated.static long
bytesToLong(byte[] b, int offset)
Deprecated.void
collect(Value value)
Deprecated.static byte[]
longToBytes(long l)
Deprecated.void
reset()
Deprecated.
-
-
-
Method Detail
-
aggregate
public Value aggregate()
Deprecated.- Specified by:
aggregate
in interfaceAggregator
-
collect
public void collect(Value value)
Deprecated.- Specified by:
collect
in interfaceAggregator
-
reset
public void reset()
Deprecated.- Specified by:
reset
in interfaceAggregator
-
bytesToLong
public static long bytesToLong(byte[] b) throws IOException
Deprecated.- Throws:
IOException
-
bytesToLong
public static long bytesToLong(byte[] b, int offset) throws IOException
Deprecated.- Throws:
IOException
-
longToBytes
public static byte[] longToBytes(long l)
Deprecated.
-
-