public class LongSumOperator extends AbstractMemorylessAggregationOperator<java.lang.Long,java.lang.Long>
| Modifier and Type | Field and Description |
|---|---|
static LongSumOperator |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
aggregateStream(java.util.stream.Stream<java.lang.Long> stream)
Calculates the aggregate results from a given stream of values; all values are considered as inserted
|
java.lang.Long |
createNeutral() |
java.lang.String |
getName()
A name or identifier of the operator.
|
java.lang.String |
getShortDescription()
A textual description of the operator.
|
boolean |
isNeutral(java.lang.Long result) |
java.lang.Long |
update(java.lang.Long oldResult,
java.lang.Long updateValue,
boolean isInsertion) |
clone, getAggregateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcombine, contains, prettyPrintpublic static final LongSumOperator INSTANCE
public java.lang.String getShortDescription()
IMultisetAggregationOperatorpublic java.lang.String getName()
IMultisetAggregationOperatorpublic java.lang.Long createNeutral()
public boolean isNeutral(java.lang.Long result)
public java.lang.Long update(java.lang.Long oldResult,
java.lang.Long updateValue,
boolean isInsertion)
public java.lang.Long aggregateStream(java.util.stream.Stream<java.lang.Long> stream)
IMultisetAggregationOperator