Interface AggResetContext
- All Superinterfaces:
NestedBlockBuilder
- All Known Subinterfaces:
AggAddContext
,AggResultContext
,WinAggAddContext
,WinAggResetContext
,WinAggResultContext
- All Known Implementing Classes:
AggAddContextImpl
,AggResetContextImpl
,AggResultContextImpl
,WinAggAddContextImpl
,WinAggResetContextImpl
,WinAggResultContextImpl
Information for a call to
AggImplementor.implementReset(AggContext, AggResetContext)
.
AggResetContext
provides access to the accumulator variables
that should be reset.
-
Method Summary
Modifier and TypeMethodDescriptionReturns accumulator variables that should be reset.Methods inherited from interface org.apache.calcite.adapter.enumerable.NestedBlockBuilder
currentBlock, exitBlock, nestBlock, nestBlock
-
Method Details
-
accumulator
List<Expression> accumulator()Returns accumulator variables that should be reset. There MUST be an assignment even if you just assign the default value.- Returns:
- accumulator variables that should be reset or empty list when no accumulator variables are used by the aggregate implementation.
- See Also:
-