Package org.teiid.runtime
Class MultiSourceMetadataRepository
- java.lang.Object
-
- org.teiid.runtime.MultiSourceMetadataRepository
-
- All Implemented Interfaces:
MetadataRepository<Object,Object>
public class MultiSourceMetadataRepository extends Object implements MetadataRepository<Object,Object>
-
-
Constructor Summary
Constructors Constructor Description MultiSourceMetadataRepository(String multiSourceColumnName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
loadMetadata(MetadataFactory factory, ExecutionFactory<Object,Object> executionFactory, Object connectionFactory)
Loads the schema information for the vdb for the given schemaName.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.teiid.metadata.MetadataRepository
loadMetadata, setColumnStats, setInsteadOfTriggerDefinition, setInsteadOfTriggerEnabled, setProcedureDefinition, setProperty, setTableStats, setViewDefinition
-
-
-
-
Constructor Detail
-
MultiSourceMetadataRepository
public MultiSourceMetadataRepository(String multiSourceColumnName)
-
-
Method Detail
-
loadMetadata
public void loadMetadata(MetadataFactory factory, ExecutionFactory<Object,Object> executionFactory, Object connectionFactory) throws TranslatorException
Description copied from interface:MetadataRepository
Loads the schema information for the vdb for the given schemaName. Loads table, procedures, functions, indexes etc.- Specified by:
loadMetadata
in interfaceMetadataRepository<Object,Object>
executionFactory
- may be null if loading a virtual sourceconnectionFactory
- may be null if source is not available- Throws:
TranslatorException
- to indicate a recoverable error, otherwise a RuntimeException
-
-