public final class FlinkPipelineTranslationUtil extends Object
FlinkPipelines
into a JobGraph
. This uses
reflection or service discovery to find the right FlinkPipelineTranslator
for a given
subclass of Pipeline
.Constructor and Description |
---|
FlinkPipelineTranslationUtil() |
Modifier and Type | Method and Description |
---|---|
static JobGraph |
getJobGraph(Pipeline pipeline,
Configuration optimizerConfiguration,
int defaultParallelism)
|
static JobGraph |
getJobGraphUnderUserClassLoader(ClassLoader userClassloader,
Pipeline pipeline,
Configuration configuration,
int defaultParallelism)
|
static String |
translateToJSONExecutionPlan(Pipeline pipeline)
Extracts the execution plan (as JSON) from the given
Pipeline . |
public static JobGraph getJobGraph(Pipeline pipeline, Configuration optimizerConfiguration, int defaultParallelism)
public static JobGraph getJobGraphUnderUserClassLoader(ClassLoader userClassloader, Pipeline pipeline, Configuration configuration, int defaultParallelism)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.