Class StreamExecWindowTableFunction

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.common.CommonExecWindowTableFunction
org.apache.flink.table.planner.plan.nodes.exec.stream.StreamExecWindowTableFunction
All Implemented Interfaces:
BatchExecNode<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>, StreamExecNode<org.apache.flink.table.data.RowData>

@ExecNodeMetadata(name="stream-exec-window-table-function", version=1, consumedOptions="table.local-time-zone", producedTransformations="window", minPlanVersion=v1_15, minStateVersion=v1_15) public class StreamExecWindowTableFunction extends CommonExecWindowTableFunction implements StreamExecNode<org.apache.flink.table.data.RowData>
Stream ExecNode which acts as a table-valued function to assign a window for each row of the input relation. The return value of the new relation includes all the original columns as well additional 3 columns named window_start, window_end, window_time to indicate the assigned window.
  • Constructor Details

    • StreamExecWindowTableFunction

      public StreamExecWindowTableFunction(org.apache.flink.configuration.ReadableConfig tableConfig, TimeAttributeWindowingStrategy windowingStrategy, InputProperty inputProperty, org.apache.flink.table.types.logical.RowType outputType, String description)
    • StreamExecWindowTableFunction

      public StreamExecWindowTableFunction(int id, ExecNodeContext context, org.apache.flink.configuration.ReadableConfig persistedConfig, TimeAttributeWindowingStrategy windowingStrategy, List<InputProperty> inputProperties, org.apache.flink.table.types.logical.RowType outputType, String description)
  • Method Details

    • translateWithUnalignedWindow

      protected org.apache.flink.api.dag.Transformation<org.apache.flink.table.data.RowData> translateWithUnalignedWindow(PlannerBase planner, ExecNodeConfig config, org.apache.flink.table.types.logical.RowType inputRowType, org.apache.flink.api.dag.Transformation<org.apache.flink.table.data.RowData> inputTransform)
      Specified by:
      translateWithUnalignedWindow in class CommonExecWindowTableFunction