Search in sources :

Example 1 with DropUpdateBeforeFunction

use of org.apache.flink.table.runtime.operators.misc.DropUpdateBeforeFunction in project flink by apache.

the class StreamExecDropUpdateBefore method translateToPlanInternal.

@SuppressWarnings("unchecked")
@Override
protected Transformation<RowData> translateToPlanInternal(PlannerBase planner, ExecNodeConfig config) {
    final Transformation<RowData> inputTransform = (Transformation<RowData>) getInputEdges().get(0).translateToPlan(planner);
    final StreamFilter<RowData> operator = new StreamFilter<>(new DropUpdateBeforeFunction());
    return ExecNodeUtil.createOneInputTransformation(inputTransform, createTransformationMeta(DROP_UPDATE_BEFORE_TRANSFORMATION, config), operator, inputTransform.getOutputType(), inputTransform.getParallelism());
}
Also used : RowData(org.apache.flink.table.data.RowData) Transformation(org.apache.flink.api.dag.Transformation) StreamFilter(org.apache.flink.streaming.api.operators.StreamFilter) DropUpdateBeforeFunction(org.apache.flink.table.runtime.operators.misc.DropUpdateBeforeFunction)

Aggregations

Transformation (org.apache.flink.api.dag.Transformation)1 StreamFilter (org.apache.flink.streaming.api.operators.StreamFilter)1 RowData (org.apache.flink.table.data.RowData)1 DropUpdateBeforeFunction (org.apache.flink.table.runtime.operators.misc.DropUpdateBeforeFunction)1