public class RuleInferenceEngine extends Object implements InferenceEngine
| Constructor and Description |
|---|
RuleInferenceEngine(Rulebook rulebook,
io.cdap.wrangler.api.ExecutorContext executorContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
io.cdap.wrangler.api.Row |
infer(io.cdap.wrangler.api.Row row) |
void |
initialize() |
public RuleInferenceEngine(Rulebook rulebook, io.cdap.wrangler.api.ExecutorContext executorContext)
public void initialize()
throws RuleCompileException
initialize in interface InferenceEngineRuleCompileExceptionpublic io.cdap.wrangler.api.Row infer(io.cdap.wrangler.api.Row row)
throws io.cdap.wrangler.api.RecipeException,
SkipRowException
infer in interface InferenceEngineio.cdap.wrangler.api.RecipeExceptionSkipRowExceptionpublic void destroy()
destroy in interface InferenceEngineCopyright © 2020 CDAP Licensed under the Apache License, Version 2.0.