public final class RulesEngine extends Transform<io.cdap.cdap.api.data.format.StructuredRecord,io.cdap.cdap.api.data.format.StructuredRecord>
| Modifier and Type | Class and Description |
|---|---|
static class |
RulesEngine.Config |
PLUGIN_TYPE| Constructor and Description |
|---|
RulesEngine(RulesEngine.Config config) |
| Modifier and Type | Method and Description |
|---|---|
void |
configurePipeline(PipelineConfigurer configurer) |
void |
initialize(TransformContext context) |
void |
transform(io.cdap.cdap.api.data.format.StructuredRecord input,
Emitter<io.cdap.cdap.api.data.format.StructuredRecord> emitter) |
destroy, getContext, onRunFinish, prepareRunpublic RulesEngine(RulesEngine.Config config)
public void configurePipeline(PipelineConfigurer configurer) throws IllegalArgumentException
configurePipeline in interface PipelineConfigurableconfigurePipeline in class Transform<io.cdap.cdap.api.data.format.StructuredRecord,io.cdap.cdap.api.data.format.StructuredRecord>IllegalArgumentExceptionpublic void initialize(TransformContext context) throws Exception
initialize in interface StageLifecycle<TransformContext>initialize in class Transform<io.cdap.cdap.api.data.format.StructuredRecord,io.cdap.cdap.api.data.format.StructuredRecord>Exceptionpublic void transform(io.cdap.cdap.api.data.format.StructuredRecord input, Emitter<io.cdap.cdap.api.data.format.StructuredRecord> emitter) throws Exception
ExceptionCopyright © 2019 CDAP Licensed under the Apache License, Version 2.0.