Interface WinAggResetContext
- All Superinterfaces:
AggResetContext
,NestedBlockBuilder
,WinAggFrameContext
- All Known Implementing Classes:
WinAggResetContextImpl
Information for a call to
AggImplementor.implementReset(AggContext, AggResetContext)
.
The AggResetContext
provides access to the accumulator variables
that should be reset.
Note: the very first reset of windowed aggregates is performed with null knowledge of indices and row count in the partition. In other words, the implementation should treat indices and partition row count as a hint to pre-size the collections.
-
Method Summary
Methods inherited from interface org.apache.calcite.adapter.enumerable.AggResetContext
accumulator
Methods inherited from interface org.apache.calcite.adapter.enumerable.NestedBlockBuilder
currentBlock, exitBlock, nestBlock, nestBlock
Methods inherited from interface org.apache.calcite.adapter.enumerable.WinAggFrameContext
endIndex, getFrameRowCount, getPartitionRowCount, hasRows, index, startIndex