Package org.teiid.metadata.index
Class IndexMetadataRepository
- java.lang.Object
-
- org.teiid.metadata.index.IndexMetadataRepository
-
- All Implemented Interfaces:
MetadataRepository
public class IndexMetadataRepository extends Object implements MetadataRepository
Loads MetadataRecords from index files.
-
-
Constructor Summary
Constructors Constructor Description IndexMetadataRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataStore
load(Collection<Datatype> systemDatatypes, VDBResources vdbResources)
void
loadMetadata(MetadataFactory factory, ExecutionFactory 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
-
-
-
-
Method Detail
-
loadMetadata
public void loadMetadata(MetadataFactory factory, ExecutionFactory 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
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
-
load
public MetadataStore load(Collection<Datatype> systemDatatypes, VDBResources vdbResources) throws IOException
- Throws:
IOException
-
-