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