| Constructor and Description |
|---|
PipelineImpl(LanguageFactory languageFactory,
List<HandlerFactory<?>> handlers) |
| Modifier and Type | Method and Description |
|---|---|
void |
run(TextSource source)
Run this pipeline on the given source.
|
void |
run(TextSource source,
Collector collector)
Run this pipeline on the given source and collect results using the given collector.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewBuilder, overpublic PipelineImpl(LanguageFactory languageFactory, List<HandlerFactory<?>> handlers)
public void run(TextSource source) throws IOException
Pipelinerun in interface Pipeline<Collector>IOExceptionpublic void run(TextSource source, Collector collector) throws IOException
Pipelinerun in interface Pipeline<Collector>IOExceptionCopyright © 2018. All rights reserved.