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 ofWinAggAddContext
.
-
-
Constructor Summary
Constructors Constructor Description WinAggAddContextImpl(BlockBuilder block, java.util.List<Expression> accumulator, com.google.common.base.Function<BlockBuilder,WinAggFrameResultContext> frame)
Deprecated.WinAggAddContextImpl(BlockBuilder block, java.util.List<Expression> accumulator, java.util.function.Function<BlockBuilder,WinAggFrameResultContext> frame)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Expression>
arguments()
Returns Linq4j form of arguments.RexToLixTranslator
rowTranslator()
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
-
Methods inherited from class org.apache.calcite.adapter.enumerable.impl.AggResetContextImpl
accumulator
-
Methods inherited from class org.apache.calcite.adapter.enumerable.NestedBlockBuilderImpl
currentBlock, currentNullables, exitBlock, nestBlock, 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
-
Methods inherited from interface org.apache.calcite.adapter.enumerable.NestedBlockBuilder
currentBlock, currentNullables, exitBlock, nestBlock, 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 Detail
-
WinAggAddContextImpl
public WinAggAddContextImpl(BlockBuilder block, java.util.List<Expression> accumulator, java.util.function.Function<BlockBuilder,WinAggFrameResultContext> frame)
-
WinAggAddContextImpl
@Deprecated public WinAggAddContextImpl(BlockBuilder block, java.util.List<Expression> accumulator, com.google.common.base.Function<BlockBuilder,WinAggFrameResultContext> frame)
Deprecated.
-
-
Method Detail
-
rowTranslator
public final RexToLixTranslator 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
public final java.util.List<Expression> 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.
-
-