Package | Description |
---|---|
org.teiid.language | |
org.teiid.metadata |
Modifier and Type | Method and Description |
---|---|
Table |
NamedTable.getMetadataObject() |
Modifier and Type | Method and Description |
---|---|
NamedTable |
LanguageFactory.createNamedTable(String name,
String correlationName,
Table metadataReference) |
void |
NamedTable.setMetadataObject(Table metadataObject) |
Constructor and Description |
---|
NamedTable(String name,
String correlationName,
Table group) |
Modifier and Type | Method and Description |
---|---|
Table |
MetadataFactory.addTable(String name)
Add a table with the given name to the model.
|
Table |
Table.getMaterializedStageTable() |
Table |
Table.getMaterializedTable() |
Table |
Schema.getTable(String tableName) |
Table |
RuntimeMetadata.getTable(String fullName)
Look up an object by identifier
|
Table |
RuntimeMetadata.getTable(String schema,
String name)
Look up an object by identifier
|
Table |
Schema.removeTable(String tableName) |
Modifier and Type | Method and Description |
---|---|
NavigableMap<String,Table> |
Schema.getTables()
Get the tables defined in this schema
|
Modifier and Type | Method and Description |
---|---|
KeyRecord |
MetadataFactory.addAccessPattern(String name,
List<String> columnNames,
Table table)
Adds an access pattern to the given table.
|
ForeignKey |
MetadataFactory.addForeignKey(String name,
List<String> columnNames,
List<String> referencedColumnNames,
String referenceTable,
Table table)
Adds a foreign key to the given table.
|
ForeignKey |
MetadataFactory.addForeignKey(String name,
List<String> columnNames,
String referenceTable,
Table table)
Adds a foreign key to the given table.
|
ForeignKey |
MetadataFactory.addForiegnKey(String name,
List<String> columnNames,
List<String> referencedColumnNames,
String referenceTable,
Table table)
Deprecated.
|
ForeignKey |
MetadataFactory.addForiegnKey(String name,
List<String> columnNames,
String referenceTable,
Table table)
Deprecated.
|
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.
|
void |
Schema.addTable(Table table) |
String |
DefaultMetadataRepository.getInsteadOfTriggerDefinition(String vdbName,
String vdbVersion,
Table table,
Table.TriggerEvent triggerOperation)
Deprecated.
Returns an updated trigger definition (FOR EACH ROW ...) or null if the current view definition should be used
should be used.
|
TableStats |
DefaultMetadataRepository.getTableStats(String vdbName,
String vdbVersion,
Table table)
Deprecated.
Get updated
TableStats for the given table |
String |
DefaultMetadataRepository.getViewDefinition(String vdbName,
String vdbVersion,
Table table)
Deprecated.
Returns an updated view definition (AS SQL only) or null if the current view definition should be used
should be used.
|
Boolean |
DefaultMetadataRepository.isInsteadOfTriggerEnabled(String vdbName,
String vdbVersion,
Table table,
Table.TriggerEvent triggerOperation)
Deprecated.
Returns whether the trigger is enabled
|
default void |
MetadataRepository.setInsteadOfTriggerDefinition(String vdbName,
String vdbVersion,
Table table,
Table.TriggerEvent triggerOperation,
String triggerDefinition)
Call back function, when "alter trigger" is called
|
default void |
MetadataRepository.setInsteadOfTriggerEnabled(String vdbName,
String vdbVersion,
Table table,
Table.TriggerEvent triggerOperation,
boolean enabled)
Callback function, when "alter trigger" is called to enable or disable a trigger
|
void |
Table.setMaterializedStageTable(Table materializedStageTable) |
void |
Table.setMaterializedTable(Table materializedTable) |
default void |
MetadataRepository.setTableStats(String vdbName,
String vdbVersion,
Table table,
TableStats tableStats)
Set the
TableStats for the given table |
default void |
MetadataRepository.setViewDefinition(String vdbName,
String vdbVersion,
Table table,
String viewDefinition)
Call back function, when "alter view" definition is called
|
Copyright © 2019. All rights reserved.