The table this index belongs to.
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 the index.
Readonly
nameThe name of the schema item.
Optional
originalIf the resource exists in the schema, the unaltered values it has.
Readonly
parentThe table this index belongs to.
Protected
removedFields to remove from the index.
Protected
shouldTrue if this is a primary key index.
Protected
shouldTrue if this is a unique index.
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.
Add the given field to this index.
Used internally.
Mark that the resource exists in the schema in some form,
and reset the dirty
flag.
Mark the resource to use IF NOT EXISTS syntax.
Build and apply a pipeline.
Make this a primary-key index.
Protected
removeProtected
Remove the given field from this index.
Rename the resource to a different name.
Make this a unique index.
Builder to specify the schema of a table index.