Class EnumerableWindow.WindowRelInputGetter
- java.lang.Object
-
- org.apache.calcite.adapter.enumerable.EnumerableWindow.WindowRelInputGetter
-
- All Implemented Interfaces:
RexToLixTranslator.InputGetter
- Enclosing class:
- EnumerableWindow
private static class EnumerableWindow.WindowRelInputGetter extends java.lang.Object implements RexToLixTranslator.InputGetter
Implementation ofRexToLixTranslator.InputGetter
suitable for generating implementations of windowed aggregate functions.
-
-
Field Summary
Fields Modifier and Type Field Description private int
actualInputFieldCount
private java.util.List<Expression>
constants
private Expression
row
private PhysType
rowPhysType
-
Constructor Summary
Constructors Modifier Constructor Description private
WindowRelInputGetter(Expression row, PhysType rowPhysType, int actualInputFieldCount, java.util.List<Expression> constants)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
field(BlockBuilder list, int index, java.lang.reflect.Type storageType)
-
-
-
Field Detail
-
row
private final Expression row
-
rowPhysType
private final PhysType rowPhysType
-
actualInputFieldCount
private final int actualInputFieldCount
-
constants
private final java.util.List<Expression> constants
-
-
Constructor Detail
-
WindowRelInputGetter
private WindowRelInputGetter(Expression row, PhysType rowPhysType, int actualInputFieldCount, java.util.List<Expression> constants)
-
-
Method Detail
-
field
public Expression field(BlockBuilder list, int index, java.lang.reflect.Type storageType)
- Specified by:
field
in interfaceRexToLixTranslator.InputGetter
-
-