Uses of Class
com.hazelcast.jet.accumulator.LongAccumulator
Package | Description |
---|---|
com.hazelcast.jet.accumulator |
Classes intended to be used for accumulator objects in an
AggregateOperation . |
com.hazelcast.jet.aggregate |
Contains
AggregateOperation and several its variants, as well
as a builder object for the aggregate operations. |
-
Uses of LongAccumulator in com.hazelcast.jet.accumulator
Methods in com.hazelcast.jet.accumulator that return LongAccumulator Modifier and Type Method Description LongAccumulator
LongAccumulator. add(long value)
Adds the supplied value to this accumulator, throwing an exception in the case of integer overflow.LongAccumulator
LongAccumulator. add(LongAccumulator that)
Adds the value of the supplied accumulator to this accumulator, throwing an exception in the case of integer overflow.LongAccumulator
LongAccumulator. addAllowingOverflow(long value)
Adds the supplied value to this accumulator, allowing integer overflow.LongAccumulator
LongAccumulator. addAllowingOverflow(LongAccumulator that)
Adds the value of the supplied accumulator to this accumulator, allowing integer overflow.LongAccumulator
LongAccumulator. set(long value)
Sets the value as given.LongAccumulator
LongAccumulator. subtract(long value)
Subtracts the supplied value from this accumulator, throwing an exception in the case of integer overflow.LongAccumulator
LongAccumulator. subtract(LongAccumulator that)
Subtracts the value of the supplied accumulator from this one, throwing an exception in the case of integer overflow.LongAccumulator
LongAccumulator. subtractAllowingOverflow(long value)
Subtracts the supplied value from this accumulator, allowing integer overflow.LongAccumulator
LongAccumulator. subtractAllowingOverflow(LongAccumulator that)
Subtracts the value of the supplied accumulator from this one, allowing integer overflow.Methods in com.hazelcast.jet.accumulator with parameters of type LongAccumulator Modifier and Type Method Description LongAccumulator
LongAccumulator. add(LongAccumulator that)
Adds the value of the supplied accumulator to this accumulator, throwing an exception in the case of integer overflow.LongAccumulator
LongAccumulator. addAllowingOverflow(LongAccumulator that)
Adds the value of the supplied accumulator to this accumulator, allowing integer overflow.LongAccumulator
LongAccumulator. subtract(LongAccumulator that)
Subtracts the value of the supplied accumulator from this one, throwing an exception in the case of integer overflow.LongAccumulator
LongAccumulator. subtractAllowingOverflow(LongAccumulator that)
Subtracts the value of the supplied accumulator from this one, allowing integer overflow. -
Uses of LongAccumulator in com.hazelcast.jet.aggregate
Methods in com.hazelcast.jet.aggregate that return types with arguments of type LongAccumulator Modifier and Type Method Description static <T> AggregateOperation1<T,LongAccumulator,Long>
AggregateOperations. counting()
Returns an aggregate operation that counts the items it observes.static <T> AggregateOperation1<T,LongAccumulator,Long>
AggregateOperations. summingLong(ToLongFunctionEx<? super T> getLongValueFn)
Returns an aggregate operation that computes the sum of thelong
values it obtains by applyinggetLongValueFn
to each item.