Interface SpannerReadOperationResolver
- All Superinterfaces:
Serializable
Resolves a table-layer read after the batch transaction has selected its snapshot.
-
Method Summary
Modifier and TypeMethodDescriptionresolve(com.google.cloud.spanner.DatabaseClient client, com.google.cloud.Timestamp readTimestamp) Resolves the concrete read operation at the batch transaction's exact snapshot.
-
Method Details
-
resolve
SpannerReadOperation resolve(com.google.cloud.spanner.DatabaseClient client, com.google.cloud.Timestamp readTimestamp) throws IOException Resolves the concrete read operation at the batch transaction's exact snapshot.- Parameters:
client- a client for the source databasereadTimestamp- the batch transaction's read timestamp- Returns:
- a concrete query or table read
- Throws:
IOException- if metadata cannot be read or validated
-