| Constructor and Description |
|---|
CloudSourceUtils() |
| Modifier and Type | Method and Description |
|---|---|
static com.google.api.services.dataflow.model.Source |
flattenBaseSpecs(com.google.api.services.dataflow.model.Source source)
Returns a copy of the source with
baseSpecs flattened into spec. |
static <T> List<T> |
readElemsFromSource(PipelineOptions options,
com.google.api.services.dataflow.model.Source source)
Creates a
Reader
from the given Dataflow Source API definition and reads all elements from it. |
public static com.google.api.services.dataflow.model.Source flattenBaseSpecs(com.google.api.services.dataflow.model.Source source)
baseSpecs flattened into spec.
On conflict for a parameter name, values in spec override values in baseSpecs,
and later values in baseSpecs override earlier ones.public static <T> List<T> readElemsFromSource(PipelineOptions options, com.google.api.services.dataflow.model.Source source)
Reader
from the given Dataflow Source API definition and reads all elements from it.