|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.accumulo.core.iterators.aggregation.NumSummation
public class NumSummation
Constructor Summary | |
---|---|
NumSummation()
|
Method Summary | |
---|---|
Value |
aggregate()
|
static long |
bytesToLong(byte[] b)
|
void |
collect(Value value)
|
static byte[] |
longToBytes(long l)
|
void |
reset()
|
static long |
safeAdd(long a,
long b)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NumSummation()
Method Detail |
---|
public Value aggregate()
aggregate
in interface Aggregator
public void collect(Value value)
collect
in interface Aggregator
public static byte[] longToBytes(long l) throws java.io.IOException
java.io.IOException
public static long bytesToLong(byte[] b) throws java.io.IOException
java.io.IOException
public static long safeAdd(long a, long b)
public void reset()
reset
in interface Aggregator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |