@Alpha public class IdentityFlowToJobSpecCompiler extends BaseFlowToJobSpecCompiler
Spec ie flow and compile corresponding materialized job Spec
and its mapping to SpecExecutor.SpecCatalogListener.AddSpecCallback, SpecCatalogListener.DeleteSpecCallback, SpecCatalogListener.UpdateSpecCallbackactive, config, dataAuthorizationTimer, flowCompilationFailedMeter, flowCompilationSuccessFulMeter, flowCompilationTimer, log, metricContext, templateCatalog, topologySpecMap| Constructor and Description |
|---|
IdentityFlowToJobSpecCompiler(com.typesafe.config.Config config) |
IdentityFlowToJobSpecCompiler(com.typesafe.config.Config config,
boolean instrumentationEnabled) |
IdentityFlowToJobSpecCompiler(com.typesafe.config.Config config,
com.google.common.base.Optional<org.slf4j.Logger> log) |
IdentityFlowToJobSpecCompiler(com.typesafe.config.Config config,
com.google.common.base.Optional<org.slf4j.Logger> log,
boolean instrumentationEnabled) |
| Modifier and Type | Method and Description |
|---|---|
Dag<JobExecutionPlan> |
compileFlow(Spec spec)
Take in a logical
Spec and compile corresponding materialized Specs
and the mapping to SpecExecutor that they can be run on. |
awaitHealthy, generateTags, getMetricContext, getTopologySpecMap, isInstrumentationEnabled, jobSpecGenerator, jobSpecTemplateURIGenerator, jobSpecURIGenerator, onAddSpec, onDeleteSpec, onDeleteSpec, onUpdateSpec, switchMetricContext, switchMetricContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetActivegetNamepublic IdentityFlowToJobSpecCompiler(com.typesafe.config.Config config)
public IdentityFlowToJobSpecCompiler(com.typesafe.config.Config config,
boolean instrumentationEnabled)
public IdentityFlowToJobSpecCompiler(com.typesafe.config.Config config,
com.google.common.base.Optional<org.slf4j.Logger> log)
public IdentityFlowToJobSpecCompiler(com.typesafe.config.Config config,
com.google.common.base.Optional<org.slf4j.Logger> log,
boolean instrumentationEnabled)
public Dag<JobExecutionPlan> compileFlow(Spec spec)
SpecCompilerSpec and compile corresponding materialized Specs
and the mapping to SpecExecutor that they can be run on.
All the specs generated from the compileFlow must have a
"flow.executionId"compileFlow in interface SpecCompilercompileFlow in class BaseFlowToJobSpecCompilerspec - Spec to compile.Spec and SpecExecutor.