public class PythonOperatorChainingOptimizer extends Object
An operator could be chained to it's predecessor if all of the following conditions are met:
The properties of the generated chained operator are as following:
Constructor and Description |
---|
PythonOperatorChainingOptimizer() |
Modifier and Type | Method and Description |
---|---|
static void |
apply(StreamExecutionEnvironment env)
Perform chaining optimization.
|
static Transformation<?> |
apply(StreamExecutionEnvironment env,
Transformation<?> transformation)
Perform chaining optimization.
|
static List<Transformation<?>> |
optimize(List<Transformation<?>> transformations)
Perform chaining optimization.
|
static Tuple2<List<Transformation<?>>,Transformation<?>> |
optimize(List<Transformation<?>> transformations,
Transformation<?> targetTransformation)
Perform chaining optimization.
|
public static void apply(StreamExecutionEnvironment env) throws Exception
Exception
public static Transformation<?> apply(StreamExecutionEnvironment env, Transformation<?> transformation) throws Exception
Exception
public static List<Transformation<?>> optimize(List<Transformation<?>> transformations)
public static Tuple2<List<Transformation<?>>,Transformation<?>> optimize(List<Transformation<?>> transformations, Transformation<?> targetTransformation)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.