use of org.apache.flink.streaming.api.operators.StreamFilter 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());
}
Aggregations