Class SpannerSinkConfig<T>
java.lang.Object
io.github.flink.gcp.connector.spanner.sink.SpannerSinkConfig<T>
- Type Parameters:
T- type of the records written by the sink
- All Implemented Interfaces:
Serializable
The immutable configuration
SpannerSinkBuilder builds and the sink carries to the task
managers.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns what happens to a mutation refused for violating a constraint.Returns the database to write to.Returns the emulator endpoint, ornullwhen writing to the real service.FailureHandler<? super FailedMutation>Returns the policy applied to terminally failed mutations.SpannerMutationSerializationSchema<? super T>Returns the serialization schema.Returns the service-account key-file path, ornullwhen no override is configured.Returns the writer tuning options.
-
Method Details
-
getDatabase
Returns the database to write to. -
getSerializer
Returns the serialization schema. -
getWriterOptions
Returns the writer tuning options. -
getFailedMutationHandler
Returns the policy applied to terminally failed mutations. -
getConstraintViolationPolicy
Returns what happens to a mutation refused for violating a constraint. -
getServiceAccountKeyFile
Returns the service-account key-file path, ornullwhen no override is configured. -
getEmulatorEndpoint
Returns the emulator endpoint, ornullwhen writing to the real service.
-