@Categories(categories={"row","data-quality"}) public class SendToErrorAndContinue extends Object implements Directive, Lineage
This step will evaluate the condition, if the condition evaluates to true, then the row will be skipped. If the condition evaluates to false, then the row will be accepted.
| Constructor and Description |
|---|
SendToErrorAndContinue() |
| Modifier and Type | Method and Description |
|---|---|
UsageDefinition |
define() |
void |
destroy() |
List<Row> |
execute(List<Row> rows,
ExecutorContext context) |
void |
initialize(Arguments args) |
Mutation |
lineage() |
public static final String NAME
public UsageDefinition define()
public void initialize(Arguments args) throws DirectiveParseException
initialize in interface Executor<List<Row>,List<Row>>DirectiveParseExceptionpublic List<Row> execute(List<Row> rows, ExecutorContext context) throws DirectiveExecutionException, ReportErrorAndProceed
execute in interface Executor<List<Row>,List<Row>>DirectiveExecutionExceptionReportErrorAndProceedCopyright © 2020 CDAP Licensed under the Apache License, Version 2.0.