Class BatchExecOverAggregateBase
java.lang.Object
org.apache.flink.table.planner.plan.nodes.exec.ExecNodeBase<org.apache.flink.table.data.RowData>
org.apache.flink.table.planner.plan.nodes.exec.batch.BatchExecOverAggregateBase
- All Implemented Interfaces:
BatchExecNode<org.apache.flink.table.data.RowData>,InputSortedExecNode<org.apache.flink.table.data.RowData>,ExecNode<org.apache.flink.table.data.RowData>,ExecNodeTranslator<org.apache.flink.table.data.RowData>,FusionCodegenExecNode,SingleTransformationTranslator<org.apache.flink.table.data.RowData>
- Direct Known Subclasses:
BatchExecOverAggregate,BatchExecPythonOverAggregate
public abstract class BatchExecOverAggregateBase
extends ExecNodeBase<org.apache.flink.table.data.RowData>
implements InputSortedExecNode<org.apache.flink.table.data.RowData>, SingleTransformationTranslator<org.apache.flink.table.data.RowData>
Batch
ExecNode base class for sort-based over window aggregate.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumOverWindowMode describes the mode of a group in over window. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringprotected final OverSpecFields inherited from interface org.apache.flink.table.planner.plan.nodes.exec.ExecNode
FIELD_NAME_CONFIGURATION, FIELD_NAME_DESCRIPTION, FIELD_NAME_ID, FIELD_NAME_INPUT_PROPERTIES, FIELD_NAME_OUTPUT_TYPE, FIELD_NAME_STATE, FIELD_NAME_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionBatchExecOverAggregateBase(int id, ExecNodeContext context, org.apache.flink.configuration.ReadableConfig persistedConfig, OverSpec overSpec, List<InputProperty> inputProperties, org.apache.flink.table.types.logical.RowType outputType, String description) BatchExecOverAggregateBase(int id, ExecNodeContext context, org.apache.flink.configuration.ReadableConfig persistedConfig, OverSpec overSpec, InputProperty inputProperty, org.apache.flink.table.types.logical.RowType outputType, String description) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected List<org.apache.calcite.rex.RexLiteral>protected org.apache.flink.table.types.logical.RowTypeinferGroupMode(OverSpec.GroupSpec group) Infer the over window mode based on given group info.protected booleanprotected booleanprotected booleanprotected booleanMethods inherited from class org.apache.flink.table.planner.plan.nodes.exec.ExecNodeBase
accept, createFormattedTransformationDescription, createFormattedTransformationName, createTransformationDescription, createTransformationMeta, createTransformationMeta, createTransformationName, createTransformationUid, getContextFromAnnotation, getDescription, getId, getInputEdges, getInputProperties, getOutputType, getPersistedConfig, getSimplifiedName, getTransformation, inputsContainSingleton, replaceInputEdge, setCompiled, setInputEdges, supportFusionCodegen, translateToFusionCodegenSpec, translateToFusionCodegenSpecInternal, translateToPlan, translateToPlanInternalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.table.planner.plan.nodes.exec.ExecNode
accept, getDescription, getId, getInputEdges, getInputProperties, getOutputType, replaceInputEdge, setCompiled, setInputEdgesMethods inherited from interface org.apache.flink.table.planner.plan.nodes.exec.ExecNodeTranslator
translateToPlanMethods inherited from interface org.apache.flink.table.planner.plan.nodes.exec.FusionCodegenExecNode
supportFusionCodegen, translateToFusionCodegenSpec
-
Field Details
-
OVER_TRANSFORMATION
- See Also:
-
FIELD_NAME_OVER_SPEC
- See Also:
-
overSpec
-
-
Constructor Details
-
BatchExecOverAggregateBase
public BatchExecOverAggregateBase(int id, ExecNodeContext context, org.apache.flink.configuration.ReadableConfig persistedConfig, OverSpec overSpec, InputProperty inputProperty, org.apache.flink.table.types.logical.RowType outputType, String description) -
BatchExecOverAggregateBase
public BatchExecOverAggregateBase(int id, ExecNodeContext context, org.apache.flink.configuration.ReadableConfig persistedConfig, OverSpec overSpec, List<InputProperty> inputProperties, org.apache.flink.table.types.logical.RowType outputType, String description)
-
-
Method Details
-
getInputTypeWithConstants
protected org.apache.flink.table.types.logical.RowType getInputTypeWithConstants() -
isUnboundedWindow
-
isUnboundedPrecedingWindow
-
isUnboundedFollowingWindow
-
isSlidingWindow
-
getConstants
-
containSizeBasedWindowFunction
-
inferGroupMode
Infer the over window mode based on given group info.
-