Package | Description |
---|---|
com.hazelcast.jet.accumulator |
Classes intended to be used for accumulator objects in an
AggregateOperation . |
com.hazelcast.jet.aggregate |
Contains
AggregateOperation and its several variants, as well
as a builder object for the aggregate operations. |
Modifier and Type | Method and Description |
---|---|
DoubleAccumulator |
DoubleAccumulator.accumulate(double v)
Adds the value to this objects' value.
|
DoubleAccumulator |
DoubleAccumulator.combine(DoubleAccumulator that)
Adds the value of the supplied accumulator to this one.
|
DoubleAccumulator |
DoubleAccumulator.deduct(DoubleAccumulator that)
Subtracts the value of the supplied accumulator from this one.
|
DoubleAccumulator |
DoubleAccumulator.set(double value)
Sets the value as given.
|
Modifier and Type | Method and Description |
---|---|
DoubleAccumulator |
DoubleAccumulator.combine(DoubleAccumulator that)
Adds the value of the supplied accumulator to this one.
|
DoubleAccumulator |
DoubleAccumulator.deduct(DoubleAccumulator that)
Subtracts the value of the supplied accumulator from this one.
|
Modifier and Type | Method and Description |
---|---|
static <T> AggregateOperation1<T,DoubleAccumulator,Double> |
AggregateOperations.summingDouble(ToDoubleFunctionEx<? super T> getDoubleValueFn)
Returns an aggregate operation that computes the sum of the
double values it obtains by applying getDoubleValueFn to each
item. |
Copyright © 2023 Hazelcast, Inc.. All rights reserved.