Index class
A sqlite index on columns or expressions.
For more information on triggers, see the CREATE TRIGGER documentation from sqlite, or the entry on sqlitetutorial.net.
- Inheritance
-
- Object
- DatabaseSchemaEntity
- Index
Constructors
- Index(String entityName, String createIndexStmt)
-
Creates an index model by the
createIndexStmt
and itsentityName
. Mainly used by generated code. -
Index.byDialect(String entityName, Map<
SqlDialect, String> createStatementsByDialect) -
Creates an index model by its
entityName
used in the schema and theCREATE INDEX
statements for each supported dialect.
Properties
- createIndexStmt → String
-
The
CREATE INDEX
sql statement that can be used to create this index.no setter -
createStatementsByDialect
→ Map<
SqlDialect, String> -
The
CREATE INDEX
SQL statements used to create this index, accessible for each dialect enabled when generating code.final - entityName → String
-
The (unalised) name of this entity in the database.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited