Class ReadOperation
java.lang.Object
org.apache.beam.sdk.io.gcp.spanner.ReadOperation
- All Implemented Interfaces:
Serializable
Encapsulates a spanner read operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ReadOperationcreate()getIndex()abstract @Nullable com.google.cloud.spanner.KeySetabstract @Nullable com.google.cloud.spanner.StatementgetQuery()getTable()withColumns(String... columns) withColumns(List<String> columns) withKeySet(com.google.cloud.spanner.KeySet keySet) withPartitionOptions(com.google.cloud.spanner.PartitionOptions partitionOptions) withQuery(com.google.cloud.spanner.Statement statement) withQueryName(String queryName)
-
Constructor Details
-
ReadOperation
public ReadOperation()
-
-
Method Details
-
create
-
getQuery
-
getQueryName
-
getTable
-
getIndex
-
getColumns
-
getKeySet
-
withTable
-
withColumns
-
withColumns
-
withQuery
-
withQuery
-
withQueryName
-
withKeySet
-
withIndex
-
withPartitionOptions
public ReadOperation withPartitionOptions(com.google.cloud.spanner.PartitionOptions partitionOptions)
-