SingleColumnChange class
Options to configure rule type SingleColumnChange.
The rule is used to change the properties of a column. The rule filter field can refer to one entity. The rule scope can be one of: Column. When using this rule, if a field is not specified than the destination column's configuration will be the same as the one in the source column..
Constructors
-
SingleColumnChange({bool? array, int? arrayLength, bool? autoGenerated, String? charset, String? collation, String? comment, Map<
String, Object?> ? customFeatures, String? dataType, int? fractionalSecondsPrecision, String? length, bool? nullable, int? precision, int? scale, List<String> ? setValues, bool? udt}) - SingleColumnChange.fromJson(Map json_)
Properties
- array ↔ bool?
-
Is the column of array type.
getter/setter pair
- arrayLength ↔ int?
-
The length of the array, only relevant if the column type is an array.
getter/setter pair
- autoGenerated ↔ bool?
-
Is the column auto-generated/identity.
getter/setter pair
- charset ↔ String?
-
Charset override - instead of table level charset.
getter/setter pair
- collation ↔ String?
-
Collation override - instead of table level collation.
getter/setter pair
- comment ↔ String?
-
Comment associated with the column.
getter/setter pair
-
customFeatures
↔ Map<
String, Object?> ? -
Custom engine specific features.
getter/setter pair
- dataType ↔ String?
-
Column data type name.
getter/setter pair
- fractionalSecondsPrecision ↔ int?
-
Column fractional seconds precision - e.g. 2 as in timestamp (2) - when
relevant.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- length ↔ String?
-
Column length - e.g. 50 as in varchar (50) - when relevant.
getter/setter pair
- nullable ↔ bool?
-
Is the column nullable.
getter/setter pair
- precision ↔ int?
-
Column precision - e.g. 8 as in double (8,2) - when relevant.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale ↔ int?
-
Column scale - e.g. 2 as in double (8,2) - when relevant.
getter/setter pair
-
setValues
↔ List<
String> ? -
Specifies the list of values allowed in the column.
getter/setter pair
- udt ↔ bool?
-
Is the column a UDT (User-defined Type).
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited