| Package | Description |
|---|---|
| org.ujorm.orm |
The ORM support.
|
| org.ujorm.orm.dialect | |
| org.ujorm.orm.metaModel |
| Modifier and Type | Method and Description |
|---|---|
Appendable |
SqlDialectEx.printDropIndex(MetaIndex index,
Appendable out)
Print an DROP INDEX for the parameter column.
|
Appendable |
SqlDialect.printIndex(MetaIndex index,
Appendable out)
Print an INDEX for the parameter column.
|
| Modifier and Type | Method and Description |
|---|---|
Appendable |
PostgreSqlDialect.printIndex(MetaIndex index,
Appendable out)
Print an INDEX for the parameter column.
|
Appendable |
OracleDialect.printIndexCondition(MetaIndex index,
Appendable out)
No PARTIAL INDEX is supported.
|
Appendable |
PostgreSqlDialect.printIndexCondition(MetaIndex index,
Appendable out)
Create an PARTIAL INDEX for exclude NULL values.
|
| Modifier and Type | Field and Description |
|---|---|
static ListKey<MetaIndex,MetaColumn> |
MetaIndex.COLUMNS
Table Columns
|
static Key<MetaIndex,String> |
MetaIndex.NAME
Index database name
|
static Key<MetaIndex,MetaTable> |
MetaIndex.TABLE
Table
|
static Key<MetaIndex,Boolean> |
MetaIndex.UNIQUE
Is the index unique ?
|
| Modifier and Type | Method and Description |
|---|---|
MetaIndex |
MetaTable.createIndexForColumn(String idxName,
MetaColumn column)
Create an Index For the Column
|
| Modifier and Type | Method and Description |
|---|---|
Collection<MetaIndex> |
MetaTable.getIndexCollection()
Create a new collection of the table indexes.
|
List<MetaIndex> |
MetaDatabase.getIndexList()
Returns all database indexes
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
MetaDbService.changeIndex(List<MetaIndex> indexes)
5.
|
void |
MetaDbServiceEx.checkKeywords(Connection conn,
List<MetaTable> tables,
List<MetaColumn> columns,
List<MetaIndex> indexes) |
protected void |
MetaDbService.checkReportKeywords(Connection conn,
List<MetaTable> tables,
List<MetaColumn> newColumns,
List<MetaIndex> indexes)
1.
|
protected boolean |
MetaDbService.isModelChanged(Connection conn,
List<MetaTable> newTables,
List<MetaColumn> newColumns,
List<MetaIndex> newIndexes)
Find database table or columns to modify.
|
Copyright 2013, Pavel Ponec