Package org.teiid.dqp.internal.datamgr
Class RuntimeMetadataImpl
- java.lang.Object
-
- org.teiid.dqp.internal.datamgr.RuntimeMetadataImpl
-
- All Implemented Interfaces:
RuntimeMetadata
public class RuntimeMetadataImpl extends Object implements RuntimeMetadata
-
-
Constructor Summary
Constructors Constructor Description RuntimeMetadataImpl(QueryMetadataInterface metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBinaryVDBResource(String resourcePath)
String
getCharacterVDBResource(String resourcePath)
Column
getColumn(String fullName)
Column
getColumn(String schema, String table, String name)
Column
getElement(Object elementId)
Table
getGroup(Object groupId)
QueryMetadataInterface
getMetadata()
ProcedureParameter
getParameter(SPParameter param)
Procedure
getProcedure(String fullName)
Procedure
getProcedure(String schema, String name)
Procedure
getProcedure(StoredProcedureInfo sp)
Table
getTable(String fullName)
Table
getTable(String schema, String name)
String[]
getVDBResourcePaths()
-
-
-
Constructor Detail
-
RuntimeMetadataImpl
public RuntimeMetadataImpl(QueryMetadataInterface metadata)
-
-
Method Detail
-
getColumn
public Column getColumn(String schema, String table, String name) throws TranslatorException
- Specified by:
getColumn
in interfaceRuntimeMetadata
- Throws:
TranslatorException
-
getProcedure
public Procedure getProcedure(String schema, String name) throws TranslatorException
- Specified by:
getProcedure
in interfaceRuntimeMetadata
- Throws:
TranslatorException
-
getTable
public Table getTable(String schema, String name) throws TranslatorException
- Specified by:
getTable
in interfaceRuntimeMetadata
- Throws:
TranslatorException
-
getColumn
public Column getColumn(String fullName) throws TranslatorException
- Specified by:
getColumn
in interfaceRuntimeMetadata
- Throws:
TranslatorException
-
getTable
public Table getTable(String fullName) throws TranslatorException
- Specified by:
getTable
in interfaceRuntimeMetadata
- Throws:
TranslatorException
-
getGroup
public Table getGroup(Object groupId) throws QueryMetadataException, TeiidComponentException
-
getProcedure
public Procedure getProcedure(String fullName) throws TranslatorException
- Specified by:
getProcedure
in interfaceRuntimeMetadata
- Throws:
TranslatorException
-
getProcedure
public Procedure getProcedure(StoredProcedureInfo sp)
-
getParameter
public ProcedureParameter getParameter(SPParameter param)
-
getBinaryVDBResource
public byte[] getBinaryVDBResource(String resourcePath) throws TranslatorException
- Specified by:
getBinaryVDBResource
in interfaceRuntimeMetadata
- Throws:
TranslatorException
-
getCharacterVDBResource
public String getCharacterVDBResource(String resourcePath) throws TranslatorException
- Specified by:
getCharacterVDBResource
in interfaceRuntimeMetadata
- Throws:
TranslatorException
-
getVDBResourcePaths
public String[] getVDBResourcePaths() throws TranslatorException
- Specified by:
getVDBResourcePaths
in interfaceRuntimeMetadata
- Throws:
TranslatorException
-
getMetadata
public QueryMetadataInterface getMetadata()
-
-