Modifier and Type | Method and Description |
---|---|
void |
accept(Object input)
Add the given value to the aggregator function
|
Object |
aggregateResult()
Retrieve the final result
|
AggregatorInstance<T> |
createClone()
Create a clone of this aggregator, detaching from its result
|
Attribute<?> |
getAttribute()
Get the attribute to pass to aggregator
|
void accept(Object input) throws AggregatorException
input
- a single input valueAggregatorException
- if the function cannot be computed, possibly due to unsupported typesObject aggregateResult()
Attribute<?> getAttribute()
AggregatorInstance<T> createClone()
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.