public final class ReaderFactory extends Object
A ReaderFactory concrete "subclass" should define a method with the following signature:
static SomeReaderSubclass<T> create(PipelineOptions, CloudObject,
Coder<T>, ExecutionContext);
| Modifier and Type | Method and Description |
|---|---|
static <T> Reader<T> |
create(PipelineOptions options,
com.google.api.services.dataflow.model.Source cloudSource,
ExecutionContext executionContext)
Creates a Reader from a Dataflow API Source definition.
|
public static <T> Reader<T> create(@Nullable PipelineOptions options, com.google.api.services.dataflow.model.Source cloudSource, @Nullable ExecutionContext executionContext) throws Exception
Exception - if the source could not be decoded and
constructed