public abstract class MinimumAggregation extends AggregationFunction<java.lang.Comparable,java.lang.Comparable>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
FunctionInfo |
info() |
java.lang.Comparable |
iterate(RamAccountingContext ramAccountingContext,
java.lang.Comparable state,
Input... args)
the "aggregate" function.
|
DataType |
partialType() |
static void |
register(AggregationImplModule mod) |
java.lang.Comparable |
terminatePartial(RamAccountingContext ramAccountingContext,
java.lang.Comparable state)
Called to transform partial states into their final form.
|
newState, normalizeSymbol, reduce
public static final java.lang.String NAME
public static void register(AggregationImplModule mod)
public FunctionInfo info()
public DataType partialType()
partialType
in class AggregationFunction<java.lang.Comparable,java.lang.Comparable>
public java.lang.Comparable terminatePartial(RamAccountingContext ramAccountingContext, java.lang.Comparable state)
AggregationFunction
terminatePartial
in class AggregationFunction<java.lang.Comparable,java.lang.Comparable>
public java.lang.Comparable iterate(RamAccountingContext ramAccountingContext, java.lang.Comparable state, Input... args) throws CircuitBreakingException
AggregationFunction
iterate
in class AggregationFunction<java.lang.Comparable,java.lang.Comparable>
ramAccountingContext
- used to account for additional memory usage if the state grows in sizestate
- the previous aggregation stateargs
- arguments / input values matching the types of FunctionInfo.argumentTypes.
These are usually used to increment/modify the previous stateCircuitBreakingException