Class WinAggAddContextImpl
java.lang.Object
org.apache.calcite.adapter.enumerable.NestedBlockBuilderImpl
org.apache.calcite.adapter.enumerable.impl.AggResetContextImpl
org.apache.calcite.adapter.enumerable.impl.AggResultContextImpl
org.apache.calcite.adapter.enumerable.impl.WinAggResultContextImpl
org.apache.calcite.adapter.enumerable.impl.WinAggAddContextImpl
- All Implemented Interfaces:
AggAddContext
,AggResetContext
,AggResultContext
,NestedBlockBuilder
,WinAggAddContext
,WinAggFrameContext
,WinAggFrameResultContext
,WinAggResultContext
public abstract class WinAggAddContextImpl
extends WinAggResultContextImpl
implements WinAggAddContext
Implementation of
WinAggAddContext
.-
Constructor Summary
ModifierConstructorDescriptionprotected
WinAggAddContextImpl
(BlockBuilder block, List<Expression> accumulator, com.google.common.base.Function<BlockBuilder, WinAggFrameResultContext> frame) Deprecated.protected
WinAggAddContextImpl
(BlockBuilder block, List<Expression> accumulator, Function<BlockBuilder, WinAggFrameResultContext> frame) -
Method Summary
Modifier and TypeMethodDescriptionfinal List<Expression>
Returns Linq4j form of arguments.final RexToLixTranslator
Returns aRexToLixTranslator
suitable to transform the arguments.Methods inherited from class org.apache.calcite.adapter.enumerable.impl.WinAggResultContextImpl
arguments, compareRows, computeIndex, endIndex, getFrameRowCount, getPartitionRowCount, hasRows, index, rowInFrame, rowInPartition, rowTranslator, startIndex
Methods inherited from class org.apache.calcite.adapter.enumerable.impl.AggResultContextImpl
call, key, keyField, resultTranslator
Methods inherited from class org.apache.calcite.adapter.enumerable.impl.AggResetContextImpl
accumulator
Methods inherited from class org.apache.calcite.adapter.enumerable.NestedBlockBuilderImpl
currentBlock, exitBlock, nestBlock, nestBlock
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.calcite.adapter.enumerable.AggAddContext
rexArguments, rexFilterArgument
Methods inherited from interface org.apache.calcite.adapter.enumerable.AggResetContext
accumulator
Methods inherited from interface org.apache.calcite.adapter.enumerable.AggResultContext
call, key, keyField, resultTranslator
Methods inherited from interface org.apache.calcite.adapter.enumerable.NestedBlockBuilder
currentBlock, exitBlock, nestBlock, nestBlock
Methods inherited from interface org.apache.calcite.adapter.enumerable.WinAggAddContext
currentPosition
Methods inherited from interface org.apache.calcite.adapter.enumerable.WinAggFrameContext
endIndex, getFrameRowCount, getPartitionRowCount, hasRows, index, startIndex
Methods inherited from interface org.apache.calcite.adapter.enumerable.WinAggFrameResultContext
compareRows, computeIndex, rowInFrame, rowInPartition, rowTranslator
Methods inherited from interface org.apache.calcite.adapter.enumerable.WinAggResultContext
arguments, rexArguments
-
Constructor Details
-
WinAggAddContextImpl
protected WinAggAddContextImpl(BlockBuilder block, List<Expression> accumulator, Function<BlockBuilder, WinAggFrameResultContext> frame) -
WinAggAddContextImpl
@Deprecated protected WinAggAddContextImpl(BlockBuilder block, List<Expression> accumulator, com.google.common.base.Function<BlockBuilder, WinAggFrameResultContext> frame) Deprecated.
-
-
Method Details
-
rowTranslator
Description copied from interface:AggAddContext
Returns aRexToLixTranslator
suitable to transform the arguments.- Specified by:
rowTranslator
in interfaceAggAddContext
- Returns:
RexToLixTranslator
suitable to transform the arguments
-
arguments
Description copied from interface:AggAddContext
Returns Linq4j form of arguments. The resulting value is equivalent torowTranslator().translateList(rexArguments())
. This is handy if you need just operate on argument.- Specified by:
arguments
in interfaceAggAddContext
- Returns:
- Linq4j form of arguments.
-