public class StreamExecWindowTableFunction extends ExecNodeBase<RowData> implements StreamExecNode<RowData>, SingleTransformationTranslator<RowData>
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.Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_EMIT_PER_RECORD |
static String |
FIELD_NAME_WINDOWING |
FIELD_NAME_DESCRIPTION, FIELD_NAME_ID, FIELD_NAME_INPUT_PROPERTIES, FIELD_NAME_OUTPUT_TYPE
Constructor and Description |
---|
StreamExecWindowTableFunction(TimeAttributeWindowingStrategy windowingStrategy,
Boolean emitPerRecord,
InputProperty inputProperty,
RowType outputType,
String description) |
StreamExecWindowTableFunction(TimeAttributeWindowingStrategy windowingStrategy,
Boolean emitPerRecord,
int id,
List<InputProperty> inputProperties,
RowType outputType,
String description) |
Modifier and Type | Method and Description |
---|---|
protected Transformation<RowData> |
translateToPlanInternal(org.apache.flink.table.planner.delegation.PlannerBase planner)
Internal method, translates this node into a Flink operator.
|
accept, getDescription, getId, getInputEdges, getInputProperties, getNewNodeId, getOutputType, inputsContainSingleton, replaceInputEdge, resetIdCounter, setInputEdges, translateToPlan
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, getDescription, getId, getInputEdges, getInputProperties, getOutputType, replaceInputEdge, setInputEdges
translateToPlan
public static final String FIELD_NAME_WINDOWING
public static final String FIELD_NAME_EMIT_PER_RECORD
public StreamExecWindowTableFunction(TimeAttributeWindowingStrategy windowingStrategy, Boolean emitPerRecord, InputProperty inputProperty, RowType outputType, String description)
public StreamExecWindowTableFunction(TimeAttributeWindowingStrategy windowingStrategy, Boolean emitPerRecord, int id, List<InputProperty> inputProperties, RowType outputType, String description)
protected Transformation<RowData> translateToPlanInternal(org.apache.flink.table.planner.delegation.PlannerBase planner)
ExecNodeBase
translateToPlanInternal
in class ExecNodeBase<RowData>
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.