public interface AggResultContext extends NestedBlockBuilder, AggResetContext
AggImplementor.implementResult(AggContext, AggResultContext)
Typically, the aggregation implementation will convert
AggResetContext.accumulator() to the resulting value of the aggregation. The
implementation MUST NOT destroy the contents of AggResetContext.accumulator().
| Modifier and Type | Method and Description |
|---|---|
AggregateCall |
call() |
Expression |
key()
Expression by which to reference the key upon which the values in the
accumulator were aggregated.
|
Expression |
keyField(int i)
Returns an expression that references the
ith field of the key,
cast to the appropriate type. |
accumulatorcurrentBlock, currentNullables, exitBlock, nestBlock, nestBlock, nestBlockExpression key()
Expression keyField(int i)
ith field of the key,
cast to the appropriate type.AggregateCall call()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.