Class SchemaUpdateOptions.Builder
java.lang.Object
io.github.flink.gcp.connector.bigquery.sink.SchemaUpdateOptions.Builder
- Enclosing class:
- SchemaUpdateOptions
Builder for
SchemaUpdateOptions.-
Method Summary
Modifier and TypeMethodDescriptionAllows relaxingREQUIREDtable fields toNULLABLEwhen the serializer does not declare themREQUIRED.Allows appending serializer fields missing from the table (always asNULLABLE).build()Builds the options.
-
Method Details
-
allowNewFields
Allows appending serializer fields missing from the table (always asNULLABLE).- Returns:
- this builder
-
allowFieldRelaxation
Allows relaxingREQUIREDtable fields toNULLABLEwhen the serializer does not declare themREQUIRED.- Returns:
- this builder
-
build
Builds the options.- Returns:
- the options
-