Package | Description |
---|---|
org.komodo.relational | |
org.komodo.relational.model | |
org.komodo.relational.model.internal |
Modifier and Type | Method and Description |
---|---|
static Table |
RelationalModelFactory.createTable(Repository.UnitOfWork transaction,
Repository repository,
Model parentModel,
String tableName) |
Modifier and Type | Method and Description |
---|---|
static AccessPattern |
RelationalModelFactory.createAccessPattern(Repository.UnitOfWork transaction,
Repository repository,
Table parentTable,
String accessPatternName) |
static Column |
RelationalModelFactory.createColumn(Repository.UnitOfWork transaction,
Repository repository,
Table table,
String columnName) |
static ForeignKey |
RelationalModelFactory.createForeignKey(Repository.UnitOfWork transaction,
Repository repository,
Table parentTable,
String foreignKeyName,
Table tableReference) |
static Index |
RelationalModelFactory.createIndex(Repository.UnitOfWork transaction,
Repository repository,
Table parentTable,
String indexName) |
static PrimaryKey |
RelationalModelFactory.createPrimaryKey(Repository.UnitOfWork transaction,
Repository repository,
Table parentTable,
String primaryKeyName) |
static UniqueConstraint |
RelationalModelFactory.createUniqueConstraint(Repository.UnitOfWork transaction,
Repository repository,
Table parentTable,
String uniqueConstraintName) |
static String |
ViewDdlBuilder.getODataViewDdl(Repository.UnitOfWork uow,
String viewName,
Table table,
List<String> columnNames)
Generated View DDL that supports the Teiid OData requirement - that views must have a Primary Key - to get auto-generated.
|
static String |
ViewDdlBuilder.getODataViewJoinDdl(Repository.UnitOfWork uow,
String viewName,
Table lhTable,
String lhTableAlias,
List<String> lhColNames,
Table rhTable,
String rhTableAlias,
List<String> rhColNames,
String joinType,
List<ViewBuilderCriteriaPredicate> criteriaPredicates)
Generated View DDL that supports the Teiid OData requirement - that views must have a Primary Key - to get auto-generated.
|
Modifier and Type | Interface and Description |
---|---|
interface |
View
Represents a relational model view.
|
Modifier and Type | Field and Description |
---|---|
static Table[] |
Table.NO_TABLES
An empty array of tables.
|
Modifier and Type | Field and Description |
---|---|
static TypeResolver<Table> |
Table.RESOLVER
The resolver of a
Table . |
Modifier and Type | Method and Description |
---|---|
Table |
Model.addTable(Repository.UnitOfWork transaction,
String tableName) |
Table |
UniqueConstraint.getParent(Repository.UnitOfWork transaction) |
Table |
PrimaryKey.getParent(Repository.UnitOfWork transaction) |
Table |
Index.getParent(Repository.UnitOfWork transaction) |
Table |
ForeignKey.getParent(Repository.UnitOfWork transaction) |
Table |
Column.getParent(Repository.UnitOfWork transaction) |
Table |
AccessPattern.getParent(Repository.UnitOfWork transaction) |
Table |
ForeignKey.getReferencesTable(Repository.UnitOfWork transaction) |
Table |
TableConstraint.getTable(Repository.UnitOfWork transaction) |
Table[] |
Model.getTables(Repository.UnitOfWork transaction,
String... namePatterns) |
Modifier and Type | Method and Description |
---|---|
ForeignKey |
View.addForeignKey(Repository.UnitOfWork transaction,
String foreignKeyName,
Table referencedTable) |
ForeignKey |
Table.addForeignKey(Repository.UnitOfWork transaction,
String foreignKeyName,
Table referencedTable) |
void |
ForeignKey.setReferencesTable(Repository.UnitOfWork transaction,
Table newReferencesTable) |
Modifier and Type | Class and Description |
---|---|
class |
TableImpl
An implementation of a relational model table.
|
class |
ViewImpl
An implementation of a relational model view.
|
Modifier and Type | Method and Description |
---|---|
Table |
ModelImpl.addTable(Repository.UnitOfWork transaction,
String tableName) |
Table |
UniqueConstraintImpl.getParent(Repository.UnitOfWork transaction) |
Table |
PrimaryKeyImpl.getParent(Repository.UnitOfWork transaction) |
Table |
IndexImpl.getParent(Repository.UnitOfWork transaction) |
Table |
ForeignKeyImpl.getParent(Repository.UnitOfWork transaction) |
Table |
ColumnImpl.getParent(Repository.UnitOfWork transaction) |
Table |
AccessPatternImpl.getParent(Repository.UnitOfWork transaction) |
Table |
ForeignKeyImpl.getReferencesTable(Repository.UnitOfWork transaction) |
Table[] |
ModelImpl.getTables(Repository.UnitOfWork transaction,
String... namePatterns) |
Modifier and Type | Method and Description |
---|---|
ForeignKey |
ViewImpl.addForeignKey(Repository.UnitOfWork uow,
String foreignKeyName,
Table referencedTable) |
ForeignKey |
TableImpl.addForeignKey(Repository.UnitOfWork transaction,
String foreignKeyName,
Table referencedTable) |
void |
ForeignKeyImpl.setReferencesTable(Repository.UnitOfWork transaction,
Table newReferencesTable) |
Copyright © 2013–2019. All rights reserved.