| Package | Description |
|---|---|
| org.ujorm.orm |
The ORM support.
|
| org.ujorm.orm.ao | |
| 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 | Field and Description |
|---|---|
protected Map<String,MetaIndex> |
IndexModelBuilder2.mapIndex
Map a MetaIndex for an index name (case insensitive)
|
protected Map<String,MetaIndex> |
IndexModelBuilder.mapIndex
Map a MetaIndex for an index name (case insensitive)
|
| Modifier and Type | Method and Description |
|---|---|
Collection<MetaIndex> |
IndexModelOrderedBuilder.getIndexModels()
Returns all indexes of the current table
|
Collection<MetaIndex> |
IndexModelBuilder2.getIndexModels()
Returns all indexes of the current table
|
Collection<MetaIndex> |
IndexModelBuilder.getIndexModels()
Returns all indexes of the current table
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
IndexModelOrderedBuilder.addToResult(List<IndexModelOrderedBuilder.OrderedColumn> columns,
List<MetaIndex> result)
Add the column to the result index list
|
| 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
Index 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 |
MetaDbServiceEx.createIndexForColumn(String idxName,
MetaColumn column,
MetaTable metaTable)
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