public interface ErrorChannel
An instance of this class is accessible through PipelineComponentRuntimeContext
ManipulatorRuntime.processRecord(Record)
Modifier and Type | Method and Description |
---|---|
void |
discard(Record record,
String error)
Discards an invalid record created by a
DataSourceRuntime
or processed by a ManipulatorRuntime . |
void |
discard(Record record,
String error,
Throwable t)
Discards an invalid record created by a
DataSourceRuntime
or processed by a ManipulatorRuntime . |
void |
discard(Record record,
Throwable t)
Discards an invalid record created by a
DataSourceRuntime
or processed by a ManipulatorRuntime . |
void discard(Record record, String error)
DataSourceRuntime
or processed by a ManipulatorRuntime
. A discarded
record will not continue through the pipeline.record
- the record to discarderror
- the error associated with this recordvoid discard(Record record, Throwable t)
DataSourceRuntime
or processed by a ManipulatorRuntime
. A discarded
record will not continue through the pipeline.record
- the record to discardt
- the Throwable associated with this recordvoid discard(Record record, String error, Throwable t)
DataSourceRuntime
or processed by a ManipulatorRuntime
. A discarded
record will not continue through the pipeline.record
- the record to discarderror
- the error associated with this recordt
- the Throwable associated with this recordCopyright © 2007, 2015, Oracle and/or its affiliates. All rights reserved.