Interface AggResetContext
-
- All Superinterfaces:
NestedBlockBuilder
- All Known Subinterfaces:
AggAddContext
,AggResultContext
,WinAggAddContext
,WinAggResetContext
,WinAggResultContext
- All Known Implementing Classes:
AggAddContextImpl
,AggResetContextImpl
,AggResultContextImpl
,WinAggAddContextImpl
,WinAggResetContextImpl
,WinAggResultContextImpl
public interface AggResetContext extends NestedBlockBuilder
Information for a call toAggImplementor.implementReset(AggContext, AggResetContext)
.AggResetContext
provides access to the accumulator variables that should be reset.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<Expression>
accumulator()
Returns accumulator variables that should be reset.-
Methods inherited from interface org.apache.calcite.adapter.enumerable.NestedBlockBuilder
currentBlock, currentNullables, exitBlock, nestBlock, nestBlock, nestBlock
-
-
-
-
Method Detail
-
accumulator
java.util.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:
AggImplementor.getStateType(org.apache.calcite.adapter.enumerable.AggContext)
-
-