MultiColumnDatatypeChange class
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).
Constructors
-
MultiColumnDatatypeChange({Input<
Map< ? customFeatures, required Input<String, String> >String> newDataType, Input<int> ? overrideFractionalSecondsPrecision, Input<String> ? overrideLength, Input<int> ? overridePrecision, Input<int> ? overrideScale, required Input<String> sourceDataTypeFilter, Input<SourceNumericFilter> ? sourceNumericFilter, Input<SourceTextFilter> ? sourceTextFilter}) -
Creates a new MultiColumnDatatypeChange.
customFeaturesOptional. Custom engine specific features.newDataTypeNew data type.overrideFractionalSecondsPrecisionOptional. Column fractional seconds precision - used only for timestamp based datatypes - if not specified and relevant uses the source column fractional seconds precision.overrideLengthOptional. Column length - e.g. varchar (50) - if not specified and relevant uses the source column length.overridePrecisionOptional. Column precision - when relevant - if not specified and relevant uses the source column precision.overrideScaleOptional. Column scale - when relevant - if not specified and relevant uses the source column scale.sourceDataTypeFilterFilter on source data type.sourceNumericFilterOptional. Filter for fixed point number data types such as NUMERIC/NUMBER.sourceTextFilterOptional. Filter for text-based data types like varchar.const -
MultiColumnDatatypeChange.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
customFeatures
→ Input<
Map< ?String, String> > -
Optional. Custom engine specific features.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
newDataType
→ Input<
String> -
New data type.
final
-
overrideFractionalSecondsPrecision
→ Input<
int> ? -
Optional. Column fractional seconds precision - used only for timestamp based datatypes - if not specified and relevant uses the source column fractional seconds precision.
final
-
overrideLength
→ Input<
String> ? -
Optional. Column length - e.g. varchar (50) - if not specified and relevant uses the source column length.
final
-
overridePrecision
→ Input<
int> ? -
Optional. Column precision - when relevant - if not specified and relevant uses the source column precision.
final
-
overrideScale
→ Input<
int> ? -
Optional. Column scale - when relevant - if not specified and relevant uses the source column scale.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sourceDataTypeFilter
→ Input<
String> -
Filter on source data type.
final
-
sourceNumericFilter
→ Input<
SourceNumericFilter> ? -
Optional. Filter for fixed point number data types such as NUMERIC/NUMBER.
final
-
sourceTextFilter
→ Input<
SourceTextFilter> ? -
Optional. Filter for text-based data types like varchar.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited