The table this constraint belongs to.
Protected
Optional
constraintThe expression defining this constraint, if applicable.
Protected
constraintThe type of this constraint.
Protected
dirtyTrue if the schema has been modified since created/loaded.
Protected
existsTrue if this resource exists, in some form, in the schema.
Protected
fieldsThe fields included in this constraint.
Readonly
nameThe name of the schema item.
Optional
originalIf the resource exists in the schema, the unaltered values it has.
Readonly
parentThe table this constraint belongs to.
Protected
shouldWhether or not the schema item should be dropped.
exists
- drop if existsProtected
Optional
shouldThe name the schema item should have if renaming.
Protected
shouldIf true, apply IF NOT EXISTS syntax.
Protected
cloneGet a new instance of the concrete implementation of this class.
Clone the properties of this resource to a different instance.
Mark the resource to be removed.
Mark the resource to be removed, if it exists.
Specify the expression used to evaluate this constraint, if applicable.
Add a field to this constraint.
Used internally.
Mark that the resource exists in the schema in some form,
and reset the dirty
flag.
Get the expression used to evaluate this constraint, if it exists.
Get the type of this constraint.
Mark the resource to use IF NOT EXISTS syntax.
Build and apply a pipeline.
Remove a field from this constraint.
Rename the resource to a different name.
Specify the type of this constraint.
Builder to specify the schema of a table constraint.