@InterfaceAudience.Public public abstract class AbstractLogicalIOProcessor extends Object implements LogicalIOProcessor, LogicalIOProcessorFrameworkInterface
LogicalIOProcessor.
Implements the base logic of some methods into this class and is expected
to be the base class that is derived to implement the user Processor| Constructor and Description |
|---|
AbstractLogicalIOProcessor(ProcessorContext context)
Constructor an instance of the LogicalProcessor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
Indicates
Processor to abort. |
ProcessorContext |
getContext() |
abstract void |
initialize()
Initializes the
Processor |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunclose, handleEventspublic AbstractLogicalIOProcessor(ProcessorContext context)
context - the ProcessorContext which provides
the Processor with context information within the running task.public abstract void initialize()
throws Exception
ProcessorFrameworkInterfaceProcessorinitialize in interface ProcessorFrameworkInterfaceIOException - if an error occursExceptionpublic final ProcessorContext getContext()
public void abort()
ProcessorFrameworkInterfaceProcessor to abort. Cleanup can be done.abort in interface ProcessorFrameworkInterfaceCopyright © 2024 Apache Software Foundation. All rights reserved.