Interface WinAggResultContext
- All Superinterfaces:
- AggResetContext,- AggResultContext,- NestedBlockBuilder,- WinAggFrameContext,- WinAggFrameResultContext
- All Known Subinterfaces:
- WinAggAddContext
- All Known Implementing Classes:
- WinAggAddContextImpl,- WinAggResultContextImpl
Information for a call to
 
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().
- 
Method SummaryModifier and TypeMethodDescriptionarguments(Expression rowIndex) Returns Linq4j form of arguments.ReturnsRexNoderepresentation of arguments.Methods inherited from interface org.apache.calcite.adapter.enumerable.AggResetContextaccumulatorMethods inherited from interface org.apache.calcite.adapter.enumerable.AggResultContextcall, key, keyField, resultTranslatorMethods inherited from interface org.apache.calcite.adapter.enumerable.NestedBlockBuildercurrentBlock, exitBlock, nestBlock, nestBlockMethods inherited from interface org.apache.calcite.adapter.enumerable.WinAggFrameContextendIndex, getFrameRowCount, getPartitionRowCount, hasRows, index, startIndexMethods inherited from interface org.apache.calcite.adapter.enumerable.WinAggFrameResultContextcompareRows, computeIndex, rowInFrame, rowInPartition, rowTranslator
- 
Method Details- 
rexArgumentsReturnsRexNoderepresentation of arguments. This can be useful for manual translation of required arguments with differentNullPolicy.- Returns:
- RexNoderepresentation of arguments
 
- 
argumentsReturns Linq4j form of arguments. The resulting value is equivalent torowTranslator().translateList(rexArguments()). This is handy if you need just operate on argument.- Parameters:
- rowIndex- index of the requested row. The index must be in range of partition's startIndex and endIndex.
- Returns:
- Linq4j form of arguments of the particular row
 
 
-