Interface Pipeline
-
- All Superinterfaces:
AutoCloseable,Closeable
public interface Pipeline extends Closeable
A pipeline for extraction execution.
Must beclosed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContentHandlergetHandler()Prepare and gets theContentHandlerfor this pipeline.voidserialize()Serializes this pipeline.
-
-
-
Method Detail
-
getHandler
ContentHandler getHandler() throws Exception
Prepare and gets theContentHandlerfor this pipeline.- Returns:
- the
ContentHandler - Throws:
Exception- if an error occured
-
serialize
void serialize() throws Exception
Serializes this pipeline.getHandler()method must have been called before, and theContentHandlermust no longer receive any event.
Then, the pipeline must beclosed.- Throws:
Exception- if an error occured
-
-