Package org.teiid.query.metadata
Class UDFMetadataRepository
- java.lang.Object
-
- org.teiid.query.metadata.UDFMetadataRepository
-
- All Implemented Interfaces:
MetadataRepository
public class UDFMetadataRepository extends Object implements MetadataRepository
Simple metadata loader for functions TODO: make theTeiidFunction
annotation public
-
-
Constructor Summary
Constructors Constructor Description UDFMetadataRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
loadMetadata(MetadataFactory factory, ExecutionFactory executionFactory, Object connectionFactory, String text)
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, String text) 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 availabletext
- the text used to configure the load- Throws:
TranslatorException
- to indicate a recoverable error, otherwise a RuntimeException
-
-