@Experimental(value=SOURCE_SINK) public abstract static class SpannerIO.ReadAll extends PTransform<PCollection<ReadOperation>,PCollection<com.google.cloud.spanner.Struct>>
SpannerIO.readAll().name| Constructor and Description |
|---|
ReadAll() |
| Modifier and Type | Method and Description |
|---|---|
PCollection<com.google.cloud.spanner.Struct> |
expand(PCollection<ReadOperation> input) |
SpannerIO.ReadAll |
withDatabaseId(String databaseId)
Specifies the Cloud Spanner database.
|
SpannerIO.ReadAll |
withDatabaseId(ValueProvider<String> databaseId)
Specifies the Cloud Spanner database.
|
SpannerIO.ReadAll |
withInstanceId(String instanceId)
Specifies the Cloud Spanner instance.
|
SpannerIO.ReadAll |
withInstanceId(ValueProvider<String> instanceId)
Specifies the Cloud Spanner instance.
|
SpannerIO.ReadAll |
withProjectId(String projectId)
Specifies the Cloud Spanner project.
|
SpannerIO.ReadAll |
withProjectId(ValueProvider<String> projectId)
Specifies the Cloud Spanner project.
|
SpannerIO.ReadAll |
withSpannerConfig(SpannerConfig spannerConfig)
Specifies the Cloud Spanner configuration.
|
SpannerIO.ReadAll |
withTransaction(PCollectionView<Transaction> transaction) |
getAdditionalInputs, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, populateDisplayData, toString, validatepublic SpannerIO.ReadAll withSpannerConfig(SpannerConfig spannerConfig)
public SpannerIO.ReadAll withProjectId(String projectId)
public SpannerIO.ReadAll withProjectId(ValueProvider<String> projectId)
public SpannerIO.ReadAll withInstanceId(String instanceId)
public SpannerIO.ReadAll withInstanceId(ValueProvider<String> instanceId)
public SpannerIO.ReadAll withDatabaseId(String databaseId)
public SpannerIO.ReadAll withDatabaseId(ValueProvider<String> databaseId)
public SpannerIO.ReadAll withTransaction(PCollectionView<Transaction> transaction)
public PCollection<com.google.cloud.spanner.Struct> expand(PCollection<ReadOperation> input)
expand in class PTransform<PCollection<ReadOperation>,PCollection<com.google.cloud.spanner.Struct>>Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.