Reference documentation and code samples for the Google Cloud Dms V1 Client class MultiColumnDatatypeChange.
Options to configure rule type MultiColumnDatatypeChange.
The rule is used to change the data type and associated properties of multiple columns at once. The rule filter field can refer to one or more entities. The rule scope can be one of:Column. This rule requires additional filters to be specified beyond the basic rule filter field, which is the source data type, but the rule supports additional filtering capabilities such as the minimum and maximum field length. All additional filters which are specified are required to be met in order for the rule to be applied (logical AND between the fields).
Generated from protobuf message google.cloud.clouddms.v1.MultiColumnDatatypeChange
Namespace
Google \ Cloud \ CloudDms \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ source_data_type_filter
string
Required. Filter on source data type.
↳ source_text_filter
↳ source_numeric_filter
Google\Cloud\CloudDms\V1\SourceNumericFilter
Optional. Filter for fixed point number data types such as NUMERIC/NUMBER.
↳ new_data_type
string
Required. New data type.
↳ override_length
int|string
Optional. Column length - e.g. varchar (50) - if not specified and relevant uses the source column length.
↳ override_scale
int
Optional. Column scale - when relevant - if not specified and relevant uses the source column scale.
↳ override_precision
int
Optional. Column precision - when relevant - if not specified and relevant uses the source column precision.
↳ override_fractional_seconds_precision
int
Optional. Column fractional seconds precision - used only for timestamp based datatypes - if not specified and relevant uses the source column fractional seconds precision.
↳ custom_features
getSourceDataTypeFilter
Required. Filter on source data type.
string
setSourceDataTypeFilter
Required. Filter on source data type.
var
string
$this
getSourceTextFilter
Optional. Filter for text-based data types like varchar.
hasSourceTextFilter
setSourceTextFilter
Optional. Filter for text-based data types like varchar.
$this
getSourceNumericFilter
Optional. Filter for fixed point number data types such as NUMERIC/NUMBER.
hasSourceNumericFilter
setSourceNumericFilter
Optional. Filter for fixed point number data types such as NUMERIC/NUMBER.
$this
getNewDataType
Required. New data type.
string
setNewDataType
Required. New data type.
var
string
$this
getOverrideLength
Optional. Column length - e.g. varchar (50) - if not specified and relevant uses the source column length.
int|string
setOverrideLength
Optional. Column length - e.g. varchar (50) - if not specified and relevant uses the source column length.
var
int|string
$this
getOverrideScale
Optional. Column scale - when relevant - if not specified and relevant uses the source column scale.
int
setOverrideScale
Optional. Column scale - when relevant - if not specified and relevant uses the source column scale.
var
int
$this
getOverridePrecision
Optional. Column precision - when relevant - if not specified and relevant uses the source column precision.
int
setOverridePrecision
Optional. Column precision - when relevant - if not specified and relevant uses the source column precision.
var
int
$this
getOverrideFractionalSecondsPrecision
Optional. Column fractional seconds precision - used only for timestamp based datatypes - if not specified and relevant uses the source column fractional seconds precision.
int
setOverrideFractionalSecondsPrecision
Optional. Column fractional seconds precision - used only for timestamp based datatypes - if not specified and relevant uses the source column fractional seconds precision.
var
int
$this
getCustomFeatures
Optional. Custom engine specific features.
hasCustomFeatures
clearCustomFeatures
setCustomFeatures
Optional. Custom engine specific features.
$this
getSourceFilter
string