public class MockedSpecCompiler extends IdentityFlowToJobSpecCompiler
InMemorySpecExecutor for these dummy specs.SpecCatalogListener.AddSpecCallback, SpecCatalogListener.DeleteSpecCallback, SpecCatalogListener.UpdateSpecCallback| Modifier and Type | Field and Description |
|---|---|
static String |
UNCOMPILABLE_FLOW |
active, config, dataAuthorizationTimer, flowCompilationFailedMeter, flowCompilationSuccessFulMeter, flowCompilationTimer, log, metricContext, templateCatalog, topologySpecMap| Constructor and Description |
|---|
MockedSpecCompiler(com.typesafe.config.Config config) |
| 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 static final String UNCOMPILABLE_FLOW
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 IdentityFlowToJobSpecCompilerspec - Spec to compile.Spec and SpecExecutor.