Class NumSummation
- java.lang.Object
-
- org.apache.accumulo.core.iterators.aggregation.NumSummation
-
- All Implemented Interfaces:
Aggregator
@Deprecated public class NumSummation extends Object implements Aggregator
Deprecated.since 1.4, replaced bySummingCombiner
withLongCombiner.Type.VARLEN
-
-
Constructor Summary
Constructors Constructor Description NumSummation()
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.void
collect(Value value)
Deprecated.static byte[]
longToBytes(long l)
Deprecated.void
reset()
Deprecated.static long
safeAdd(long a, long b)
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
-
longToBytes
public static byte[] longToBytes(long l) throws IOException
Deprecated.- Throws:
IOException
-
bytesToLong
public static long bytesToLong(byte[] b) throws IOException
Deprecated.- Throws:
IOException
-
safeAdd
public static long safeAdd(long a, long b)
Deprecated.
-
reset
public void reset()
Deprecated.- Specified by:
reset
in interfaceAggregator
-
-