public abstract static class BigQueryIO.TypedRead<T> extends PTransform<PBegin,PCollection<T>>
BigQueryIO.read(SerializableFunction).name| Constructor and Description |
|---|
TypedRead() |
| Modifier and Type | Method and Description |
|---|---|
PCollection<T> |
expand(PBegin input) |
BigQueryIO.TypedRead<T> |
from(String tableSpec)
|
BigQueryIO.TypedRead<T> |
from(com.google.api.services.bigquery.model.TableReference table)
|
BigQueryIO.TypedRead<T> |
from(ValueProvider<String> tableSpec)
|
BigQueryIO.TypedRead<T> |
fromQuery(String query)
|
BigQueryIO.TypedRead<T> |
fromQuery(ValueProvider<String> query)
|
com.google.api.services.bigquery.model.TableReference |
getTable()
|
ValueProvider<com.google.api.services.bigquery.model.TableReference> |
getTableProvider()
|
void |
populateDisplayData(DisplayData.Builder builder) |
BigQueryIO.TypedRead<T> |
usingStandardSql()
|
void |
validate(PipelineOptions options) |
BigQueryIO.TypedRead<T> |
withCoder(Coder<T> coder)
Sets a
Coder for the result of the parse function. |
BigQueryIO.TypedRead<T> |
withoutResultFlattening()
|
BigQueryIO.TypedRead<T> |
withoutValidation()
|
BigQueryIO.TypedRead<T> |
withTemplateCompatibility()
|
getAdditionalInputs, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, toStringpublic void validate(PipelineOptions options)
validate in class PTransform<PBegin,PCollection<T>>public PCollection<T> expand(PBegin input)
expand in class PTransform<PBegin,PCollection<T>>public void populateDisplayData(DisplayData.Builder builder)
populateDisplayData in interface HasDisplayDatapopulateDisplayData in class PTransform<PBegin,PCollection<T>>@Nullable public ValueProvider<com.google.api.services.bigquery.model.TableReference> getTableProvider()
@Nullable public com.google.api.services.bigquery.model.TableReference getTable()
public BigQueryIO.TypedRead<T> withCoder(Coder<T> coder)
Coder for the result of the parse function. This may be required if a coder
can not be inferred automatically.public BigQueryIO.TypedRead<T> from(String tableSpec)
public BigQueryIO.TypedRead<T> from(ValueProvider<String> tableSpec)
public BigQueryIO.TypedRead<T> fromQuery(String query)
public BigQueryIO.TypedRead<T> fromQuery(ValueProvider<String> query)
public BigQueryIO.TypedRead<T> from(com.google.api.services.bigquery.model.TableReference table)
public BigQueryIO.TypedRead<T> withoutValidation()
public BigQueryIO.TypedRead<T> withoutResultFlattening()
public BigQueryIO.TypedRead<T> usingStandardSql()
@Experimental(value=SOURCE_SINK) public BigQueryIO.TypedRead<T> withTemplateCompatibility()
Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.