Class SpannerReadOperationResolution
java.lang.Object
io.github.flink.gcp.connector.spanner.source.SpannerReadOperationResolution
Internal bridge between a table-layer deferred read and the batch partition planner.
-
Method Summary
Modifier and TypeMethodDescriptionstatic SpannerReadOperationdeferred(SpannerReadOperationResolver resolver) Creates a deferred operation without adding a table-only method to the public value type.static SpannerReadOperationresolve(SpannerReadOperation operation, com.google.cloud.spanner.DatabaseClient client, com.google.cloud.Timestamp readTimestamp) Resolves the operation when necessary, otherwise returns it unchanged.
-
Method Details
-
deferred
Creates a deferred operation without adding a table-only method to the public value type. -
resolve
public static SpannerReadOperation resolve(SpannerReadOperation operation, com.google.cloud.spanner.DatabaseClient client, com.google.cloud.Timestamp readTimestamp) throws IOException Resolves the operation when necessary, otherwise returns it unchanged.- Throws:
IOException
-