Package | Description |
---|---|
org.teiid.metadata |
Modifier and Type | Class and Description |
---|---|
class |
ForeignKey
ForeignKeyRecordImpl
|
Modifier and Type | Method and Description |
---|---|
KeyRecord |
MetadataFactory.addAccessPattern(String name,
List<String> columnNames,
Table table)
Adds an access pattern to the given table.
|
KeyRecord |
MetadataFactory.addFunctionBasedIndex(String name,
List<String> expressions,
List<Boolean> nonColumnExpressions,
Table table)
Adds a function based index on the given expressions.
|
KeyRecord |
MetadataFactory.addIndex(String name,
boolean nonUnique,
List<String> columnNames,
Table table)
Adds an index to the given table.
|
KeyRecord |
MetadataFactory.addPrimaryKey(String name,
List<String> columnNames,
Table table)
Adds a primary key to the given table.
|
KeyRecord |
ForeignKey.getPrimaryKey()
Deprecated.
|
KeyRecord |
Table.getPrimaryKey() |
KeyRecord |
ForeignKey.getReferenceKey() |
Modifier and Type | Method and Description |
---|---|
List<KeyRecord> |
Table.getAccessPatterns() |
Collection<KeyRecord> |
Table.getAllKeys() |
List<KeyRecord> |
Table.getFunctionBasedIndexes() |
List<KeyRecord> |
Table.getIndexes() |
List<KeyRecord> |
Table.getUniqueKeys() |
Modifier and Type | Method and Description |
---|---|
void |
ForeignKey.setPrimaryKey(KeyRecord primaryKey)
Deprecated.
|
void |
Table.setPrimaryKey(KeyRecord primaryKey) |
void |
ForeignKey.setReferenceKey(KeyRecord primaryKey)
Note: does not need to be directly called.
|
Modifier and Type | Method and Description |
---|---|
void |
Table.setAccessPatterns(List<KeyRecord> accessPatterns) |
void |
Table.setFunctionBasedIndexes(List<KeyRecord> functionBasedIndexes) |
void |
Table.setIndexes(List<KeyRecord> indexes) |
void |
Table.setUniqueKeys(List<KeyRecord> uniqueKeys) |
Copyright © 2019. All rights reserved.