Interface AggregateFunction.OfBoolean<ACC>
- All Superinterfaces:
AggregateFunction<ACC>
- Enclosing interface:
AggregateFunction<ACC>
boolean-input convenience: coerces the sample and calls addBoolean(ACC, boolean).-
Nested Class Summary
Nested classes/interfaces inherited from interface AggregateFunction
AggregateFunction.Cell, AggregateFunction.OfBoolean<ACC>, AggregateFunction.OfDouble<ACC>, AggregateFunction.OfLong<ACC>, AggregateFunction.PriorSample, AggregateFunction.QualityPolicy, AggregateFunction.Traits, AggregateFunction.Window -
Method Summary
Modifier and TypeMethodDescriptiondefault ACCadd(ACC acc, long tsMs, @Nullable Object value, @Nullable QualityCode quality) One sample, in timestamp order.voidaddBoolean(ACC acc, boolean value)
-
Method Details
-
addBoolean
-
add
Description copied from interface:AggregateFunctionOne sample, in timestamp order. Returns the accumulator to keep: the same one, or a fresh one. A quality-gated fold sees only the samples the query's filter admits; the others see every sample with its quality.- Specified by:
addin interfaceAggregateFunction<ACC>
-