public interface Pipeline<Collector>
TextSource that will run Handlers on the
text in the source.| Modifier and Type | Method and Description |
|---|---|
static <Collector> |
newBuilder()
Start creating a reusable pipeline.
|
static PipelineRunner<?> |
over(TextSource source)
Start creating a pipeline with the intention of executing over the given source.
|
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.
|
void run(TextSource source) throws IOException
source - IOExceptionvoid run(TextSource source, Collector collector) throws IOException
source - collector - IOExceptionstatic <Collector> PipelineBuilder<Collector> newBuilder()
static PipelineRunner<?> over(TextSource source)
source - Copyright © 2018. All rights reserved.