public static class SchemaDriftConfig.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SchemaDriftConfig |
build() |
SchemaDriftConfig.Builder |
copy(SchemaDriftConfig model) |
SchemaDriftConfig.Builder |
dataTypeChangeHandling(SchemaDriftConfig.DataTypeChangeHandling dataTypeChangeHandling)
The setting for how to handle columns/fields with changed data types.
|
SchemaDriftConfig.Builder |
extraColumnHandling(SchemaDriftConfig.ExtraColumnHandling extraColumnHandling)
The setting for how to handle extra columns/fields.
|
SchemaDriftConfig.Builder |
isValidationWarningIfAllowed(Boolean isValidationWarningIfAllowed)
If true, display a validation warning for schema changes, even if they are allowed.
|
SchemaDriftConfig.Builder |
missingColumnHandling(SchemaDriftConfig.MissingColumnHandling missingColumnHandling)
The setting for how to handle missing columns/fields.
|
public SchemaDriftConfig.Builder extraColumnHandling(SchemaDriftConfig.ExtraColumnHandling extraColumnHandling)
The setting for how to handle extra columns/fields. NULL_FILLUP means that nulls will be loaded into the target for extra columns.
extraColumnHandling
- the value to setpublic SchemaDriftConfig.Builder missingColumnHandling(SchemaDriftConfig.MissingColumnHandling missingColumnHandling)
The setting for how to handle missing columns/fields. NULL_SELECT means that null values will be selected from the source for missing columns.
missingColumnHandling
- the value to setpublic SchemaDriftConfig.Builder dataTypeChangeHandling(SchemaDriftConfig.DataTypeChangeHandling dataTypeChangeHandling)
The setting for how to handle columns/fields with changed data types.
dataTypeChangeHandling
- the value to setpublic SchemaDriftConfig.Builder isValidationWarningIfAllowed(Boolean isValidationWarningIfAllowed)
If true, display a validation warning for schema changes, even if they are allowed.
isValidationWarningIfAllowed
- the value to setpublic SchemaDriftConfig build()
public SchemaDriftConfig.Builder copy(SchemaDriftConfig model)
Copyright © 2016–2024. All rights reserved.