Uses of Class
com.hazelcast.jet.accumulator.LongAccumulator
Package
Description
Classes intended to be used for accumulator objects in an
AggregateOperation
.Contains
AggregateOperation
and its several variants, as well
as a builder object for the aggregate operations.-
Uses of LongAccumulator in com.hazelcast.jet.accumulator
Modifier and TypeMethodDescriptionLongAccumulator.add
(long value) Adds the supplied value to this accumulator, throwing an exception in the case of integer overflow.LongAccumulator.add
(LongAccumulator that) Adds the value of the supplied accumulator to this accumulator, throwing an exception in the case of integer overflow.LongAccumulator.addAllowingOverflow
(long value) Adds the supplied value to this accumulator, allowing integer overflow.LongAccumulator.addAllowingOverflow
(LongAccumulator that) Adds the value of the supplied accumulator to this accumulator, allowing integer overflow.LongAccumulator.set
(long value) Sets the value as given.LongAccumulator.subtract
(long value) Subtracts the supplied value from this accumulator, throwing an exception in the case of integer overflow.LongAccumulator.subtract
(LongAccumulator that) Subtracts the value of the supplied accumulator from this one, throwing an exception in the case of integer overflow.LongAccumulator.subtractAllowingOverflow
(long value) Subtracts the supplied value from this accumulator, allowing integer overflow.LongAccumulator.subtractAllowingOverflow
(LongAccumulator that) Subtracts the value of the supplied accumulator from this one, allowing integer overflow.Modifier and TypeMethodDescriptionLongAccumulator.add
(LongAccumulator that) Adds the value of the supplied accumulator to this accumulator, throwing an exception in the case of integer overflow.LongAccumulator.addAllowingOverflow
(LongAccumulator that) Adds the value of the supplied accumulator to this accumulator, allowing integer overflow.LongAccumulator.subtract
(LongAccumulator that) Subtracts the value of the supplied accumulator from this one, throwing an exception in the case of integer overflow.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
Modifier and TypeMethodDescriptionstatic <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.