Class SpannerTransformRegistrar.ReadBuilder.Configuration
java.lang.Object
org.apache.beam.sdk.io.gcp.spanner.SpannerTransformRegistrar.CrossLanguageConfiguration
org.apache.beam.sdk.io.gcp.spanner.SpannerTransformRegistrar.ReadBuilder.Configuration
- Enclosing class:
SpannerTransformRegistrar.ReadBuilder
public static class SpannerTransformRegistrar.ReadBuilder.Configuration
extends SpannerTransformRegistrar.CrossLanguageConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setBatching
(@Nullable Boolean batching) void
setReadTimestamp
(@Nullable String readTimestamp) void
setSchema
(byte[] schema) void
void
setStaleness
(@Nullable Long staleness) void
void
setTimestampBoundMode
(@Nullable String timestampBoundMode) void
setTimeUnit
(@Nullable String timeUnit) Methods inherited from class org.apache.beam.sdk.io.gcp.spanner.SpannerTransformRegistrar.CrossLanguageConfiguration
setDatabaseId, setEmulatorHost, setHost, setInstanceId, setProjectId
-
Constructor Details
-
Configuration
public Configuration()
-
-
Method Details
-
setSql
-
setTable
-
setBatching
-
setTimestampBoundMode
-
setSchema
public void setSchema(byte[] schema) throws org.apache.beam.vendor.grpc.v1p69p0.com.google.protobuf.InvalidProtocolBufferException - Throws:
org.apache.beam.vendor.grpc.v1p69p0.com.google.protobuf.InvalidProtocolBufferException
-
setReadTimestamp
-
setTimeUnit
-
setStaleness
-
getReadOperation
-