| Package | Description |
|---|---|
| com.impetus.kundera.configure | |
| com.impetus.kundera.configure.schema.api |
| Modifier and Type | Field and Description |
|---|---|
private Map<String,List<TableInfo>> |
SchemaConfiguration.puToSchemaMetadata
pu to schema metadata map .
|
| Modifier and Type | Method and Description |
|---|---|
private List<TableInfo> |
SchemaConfiguration.getSchemaInfo(String persistenceUnit)
Returns list of configured table/column families.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
SchemaConfiguration.addColumnToTableInfo(EntityMetadata entityMetadata,
EntityMetadata.Type type,
TableInfo tableInfo)
Adds column to table info of entity.
|
private void |
SchemaConfiguration.addJoinColumnToInfo(String joinColumn,
TableInfo targetTableInfo,
List<TableInfo> targetTableInfos,
EntityMetadata m)
adds join column name to the table Info of entity.
|
private ColumnInfo |
SchemaConfiguration.getColumn(TableInfo tableInfo,
javax.persistence.metamodel.Attribute column,
PropertyIndex indexedColumn,
String[] orderByColumns)
getColumn method return ColumnInfo for the given column
|
private EmbeddedColumnInfo |
SchemaConfiguration.getEmbeddedColumn(TableInfo tableInfo,
javax.persistence.metamodel.EmbeddableType embeddableType,
String embeddableColName,
Class embeddedEntityClass,
Field field)
Get Embedded column info.
|
private ColumnInfo |
SchemaConfiguration.getJoinColumn(TableInfo tableInfo,
String joinColumnName,
Class columnType)
getJoinColumn method return ColumnInfo for the join column
|
private void |
SchemaConfiguration.onInheritedProperty(TableInfo tableInfo,
javax.persistence.metamodel.EntityType entityType)
Add
DiscriminatorColumn for schema generation. |
private void |
SchemaConfiguration.parseRelations(String persistenceUnit,
List<TableInfo> tableInfos,
EntityMetadata entityMetadata,
TableInfo tableInfo,
List<Relation> relations)
parse the relations of entites .
|
| Modifier and Type | Method and Description |
|---|---|
private void |
SchemaConfiguration.addJoinColumnToInfo(String joinColumn,
TableInfo targetTableInfo,
List<TableInfo> targetTableInfos,
EntityMetadata m)
adds join column name to the table Info of entity.
|
private void |
SchemaConfiguration.addTableGenerator(ApplicationMetadata appMetadata,
String persistenceUnit,
List<TableInfo> tableInfos,
EntityMetadata entityMetadata)
Add tableGenerator to table info.
|
private void |
SchemaConfiguration.parseRelations(String persistenceUnit,
List<TableInfo> tableInfos,
EntityMetadata entityMetadata,
TableInfo tableInfo,
List<Relation> relations)
parse the relations of entites .
|
| Modifier and Type | Field and Description |
|---|---|
protected List<TableInfo> |
AbstractSchemaManager.tableInfos
The table infos variable .
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
AbstractSchemaManager.create_drop(List<TableInfo> tableInfos)
Create_drop.
|
protected abstract void |
AbstractSchemaManager.create(List<TableInfo> tableInfos)
Creates the.
|
protected void |
AbstractSchemaManager.exportSchema(String persistenceUnit,
List<TableInfo> tables)
Export schema handles the handleOperation method.
|
void |
SchemaManager.exportSchema(String persistenceUnit,
List<TableInfo> puToSchemaCol)
Exports schema according to configured schema operation e.g.
|
private void |
AbstractSchemaManager.handleOperations(List<TableInfo> tableInfos)
Handle operations.
|
protected abstract void |
AbstractSchemaManager.update(List<TableInfo> tableInfos)
Update.
|
protected abstract void |
AbstractSchemaManager.validate(List<TableInfo> tableInfos)
Validates the schema.
|
Copyright © 2015. All Rights Reserved.