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
i th field of the key,
cast to the appropriate type. |
accumulator
currentBlock, currentNullables, exitBlock, nestBlock, nestBlock, nestBlock
Expression key()
Expression keyField(int i)
i
th field of the key,
cast to the appropriate type.AggregateCall call()
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.