public class BasicQueryMetadataWrapper extends Object implements QueryMetadataInterface
| Modifier and Type | Field and Description |
|---|---|
protected QueryMetadataInterface |
actualMetadata |
protected boolean |
designTime |
protected QueryMetadataInterface |
designTimeMetadata |
UNKNOWN_CARDINALITY| Constructor and Description |
|---|
BasicQueryMetadataWrapper(QueryMetadataInterface actualMetadata) |
| Modifier and Type | Method and Description |
|---|---|
Object |
addToMetadataCache(Object metadataID,
String key,
Object value) |
protected QueryMetadataInterface |
createDesignTimeMetadata() |
boolean |
elementSupports(Object elementID,
int elementConstant)
Determine whether the specified element supports some feature.
|
boolean |
findShortName() |
Collection |
getAccessPatternsInGroup(Object groupID)
Get the access patterns for the specified group
|
byte[] |
getBinaryVDBResource(String resourcePath)
Gets the contents of a VDB resource in binary form.
|
float |
getCardinality(Object groupID)
Return the cardinality for this group
|
String |
getCharacterVDBResource(String resourcePath)
Gets the contents of a VDB resource as a String.
|
Class<?> |
getDataTypeClass(String typeName)
Get the runtime type class for the given type name, which may include domains
|
String |
getDefaultValue(Object elementID)
Get the element's default value for an element symbol
|
String |
getDeletePlan(Object groupID)
Get procedure defining the delete plan for this group.
|
QueryMetadataInterface |
getDesignTimeMetadata()
Get the metadata without visibility and session tables
|
float |
getDistinctValues(Object elementID)
Get the number of distinct values for this column.
|
Object |
getElementID(String elementName)
Get the metadata-implementation identifier object for the given element name.
|
List |
getElementIDsInAccessPattern(Object accessPattern)
Get the elements in the access pattern
|
List |
getElementIDsInGroupID(Object groupID)
Get list of metadata element IDs for a group ID
|
List |
getElementIDsInIndex(Object index)
Get the elements in the index
|
List |
getElementIDsInKey(Object key)
Get the elements in the key
|
int |
getElementLength(Object elementID)
Get the element length for a given element ID.
|
String |
getElementRuntimeTypeName(Object elementID)
Get the element type name for an element symbol.
|
Properties |
getExtensionProperties(Object metadataID)
Get all extension properties defined on this metadata object
|
String |
getExtensionProperty(Object metadataID,
String key,
boolean checkUnqualified) |
Collection |
getForeignKeysInGroup(Object groupID)
Get the foreign keys for the specified group
|
String |
getFormat(Object elementID)
Get the element's format
|
Object |
getFromMetadataCache(Object metadataID,
String key) |
String |
getFullName(Object metadataID)
Get the fully qualified (unique) name of the metadata identifier specified.
|
Map<Expression,Integer> |
getFunctionBasedExpressions(Object metadataID) |
FunctionLibrary |
getFunctionLibrary() |
Object |
getGroupID(String groupName)
Get the metadata-implementation identifier object for the given group name.
|
Object |
getGroupIDForElementID(Object elementID)
Get containg group ID given element ID
|
Collection |
getGroupsForPartialName(String partialGroupName)
Get a collection of group names that match the partially qualified group name.
|
Set<String> |
getImportedModels() |
Collection |
getIndexesInGroup(Object groupID)
Get the indexes for the specified group
|
String |
getInsertPlan(Object groupID)
Get procedure defining the insert plan for this group.
|
Object |
getMaterialization(Object groupID)
Accquire the physical group ID (the Materialization) for the given virtual
group ID, or
null if the given virtual group has no Materialization. |
Object |
getMaterializationStage(Object groupID)
Accquire the physical group ID that is used for the staging area for loading
(the Materialization) for the given virtual group ID, or
null
if the given virtual group has no Materialization. |
Object |
getMaximumValue(Object elementID)
Get the element's default value for an element symbol
|
int |
getMaxSetSize(Object modelID)
Get the max set size for the specified model.
|
Object |
getMinimumValue(Object elementID)
Get the element's minimum value for an element symbol
|
Object |
getModelID(Object groupOrElementID)
Get the metadata-implementation identifier object for the model containing the
specified group or element ID.
|
Object |
getModelID(String modelName) |
String |
getName(Object metadataID)
Get the name of the metadata identifier specified.
|
String |
getNameInSource(Object metadataID)
Get the name in source of the metadata identifier specified.
|
String |
getNativeType(Object elementID)
Get the native type of the element specified.
|
float |
getNullValues(Object elementID)
Get the number of distinct values for this column.
|
int |
getPosition(Object elementID)
Get the element's position in the group
|
int |
getPrecision(Object elementID)
Get the element's precision
|
Object |
getPrimaryKey(Object metadataID) |
Object |
getPrimaryKeyIDForForeignKeyID(Object foreignKeyID)
Get the corresponding primary key ID for the specified foreign
key ID
|
int |
getRadix(Object elementID)
Get the element's radix
|
int |
getScale(Object elementID)
Get the element's scale
|
ScriptEngine |
getScriptEngine(String langauge) |
QueryMetadataInterface |
getSessionMetadata() |
StoredProcedureInfo |
getStoredProcedureInfoForProcedure(String fullyQualifiedProcedureName)
Get the the StoredProcedureInfo based on the fully qualified procedure name
|
Collection |
getUniqueKeysInGroup(Object groupID)
Get the unique keys for the specified group (primary and unique keys)
The primary key if present will be first in the collection
|
String |
getUpdatePlan(Object groupID)
Get procedure defining the update plan for this group.
|
String[] |
getVDBResourcePaths()
Gets the resource paths of all the resources in the VDB.
|
String |
getVirtualDatabaseName()
Get the currently connected virtual database name.
|
QueryNode |
getVirtualPlan(Object groupID)
Get virtual plan for a group symbol.
|
boolean |
groupSupports(Object groupID,
int groupConstant)
Determine whether the specified group supports some feature.
|
boolean |
hasMaterialization(Object groupID)
Determine whether given virtual group has an associated Materialization.
|
boolean |
hasProcedure(String name)
Return true if a procedure exists with the given name (partial or fqn)
|
boolean |
isEnvAllowed() |
boolean |
isMultiSource(Object modelId) |
boolean |
isMultiSourceElement(Object elementId) |
boolean |
isProcedure(Object groupID)
Determine whether this is a procedure
|
boolean |
isPseudo(Object elementId) |
boolean |
isScalarGroup(Object groupID) |
boolean |
isTemporaryTable(Object groupID)
Determine whether a group is a temporary table.
|
boolean |
isVariadic(Object metadataID) |
boolean |
isVirtualGroup(Object groupID)
Determine whether a group is virtual or not.
|
boolean |
isVirtualModel(Object modelID)
Determine whether a model is virtual or not.
|
boolean |
modelSupports(Object modelID,
int modelConstant)
Determine whether the specified model supports some feature.
|
boolean |
useOutputName() |
boolean |
widenComparisonToString() |
protected QueryMetadataInterface actualMetadata
protected QueryMetadataInterface designTimeMetadata
protected boolean designTime
public BasicQueryMetadataWrapper(QueryMetadataInterface actualMetadata)
public boolean elementSupports(Object elementID, int elementConstant) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfaceelementSupports in interface QueryMetadataInterfaceelementID - Element metadata IDelementConstant - Constant from SupportConstants.ElementQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic Collection getAccessPatternsInGroup(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetAccessPatternsInGroup in interface QueryMetadataInterfacegroupID - Metadata identifier specifying groupQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic byte[] getBinaryVDBResource(String resourcePath) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetBinaryVDBResource in interface QueryMetadataInterfaceresourcePath - a path returned by getVDBResourcePaths()TeiidComponentException - Unexpected internal system problem during requestQueryMetadataException - Metadata implementation detected a problem during the requestpublic float getCardinality(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetCardinality in interface QueryMetadataInterfacegroupID - Metadata identifier specifying groupTeiidComponentExceptionQueryMetadataExceptionpublic String getCharacterVDBResource(String resourcePath) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetCharacterVDBResource in interface QueryMetadataInterfaceresourcePath - a path returned by getVDBResourcePaths()TeiidComponentException - Unexpected internal system problem during requestQueryMetadataException - Metadata implementation detected a problem during the requestpublic String getDefaultValue(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetDefaultValue in interface QueryMetadataInterfaceelementID - The element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic String getDeletePlan(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetDeletePlan in interface QueryMetadataInterfaceTeiidComponentExceptionQueryMetadataExceptionpublic float getDistinctValues(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetDistinctValues in interface QueryMetadataInterfaceelementID - The element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic Object getElementID(String elementName) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetElementID in interface QueryMetadataInterfaceelementName - Fully qualified element nameQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic List getElementIDsInAccessPattern(Object accessPattern) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetElementIDsInAccessPattern in interface QueryMetadataInterfaceaccessPattern - access pattern identifier, as returned by QueryMetadataInterface.getAccessPatternsInGroup(java.lang.Object)QueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic List getElementIDsInGroupID(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetElementIDsInGroupID in interface QueryMetadataInterfacegroupID - Group IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic List getElementIDsInIndex(Object index) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetElementIDsInIndex in interface QueryMetadataInterfaceindex - Index identifier, as returned by QueryMetadataInterface.getIndexesInGroup(java.lang.Object)QueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic List getElementIDsInKey(Object key) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetElementIDsInKey in interface QueryMetadataInterfacekey - Key identifier, as returned by QueryMetadataInterface.getUniqueKeysInGroup(java.lang.Object)QueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic int getElementLength(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfaceDataTypeManager.DefaultDataTypes.getElementLength in interface QueryMetadataInterfaceelementID - The element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic String getElementRuntimeTypeName(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfaceDataTypeManager.DefaultDataTypes.getElementRuntimeTypeName in interface QueryMetadataInterfaceQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic Properties getExtensionProperties(Object metadataID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetExtensionProperties in interface QueryMetadataInterfacemetadataID - Typically element, group, model, or procedureQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic Collection getForeignKeysInGroup(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetForeignKeysInGroup in interface QueryMetadataInterfacegroupID - Metadata identifier specifying groupQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic String getFullName(Object metadataID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetFullName in interface QueryMetadataInterfacemetadataID - Metadata identifierQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic Object getGroupID(String groupName) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetGroupID in interface QueryMetadataInterfacegroupName - Fully qualified group nameQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic Object getGroupIDForElementID(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetGroupIDForElementID in interface QueryMetadataInterfaceelementID - Element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic Collection getGroupsForPartialName(String partialGroupName) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetGroupsForPartialName in interface QueryMetadataInterfacepartialGroupName - Partially qualified group nameQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic Collection getIndexesInGroup(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetIndexesInGroup in interface QueryMetadataInterfacegroupID - Metadata identifier specifying groupQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic String getInsertPlan(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetInsertPlan in interface QueryMetadataInterfaceTeiidComponentExceptionQueryMetadataExceptionpublic Object getMaterialization(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacenull if the given virtual group has no Materialization.getMaterialization in interface QueryMetadataInterfacegroupID - the groupID of a virtual group that has a Materialization.TeiidComponentException - Unexpected internal system problem during requestQueryMetadataException - Metadata implementation detected a problem during the requestpublic Object getMaterializationStage(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacenull
if the given virtual group has no Materialization.getMaterializationStage in interface QueryMetadataInterfacegroupID - the groupID of a virtual group that has a Materialization.TeiidComponentException - Unexpected internal system problem during requestQueryMetadataException - Metadata implementation detected a problem during the requestpublic Object getMaximumValue(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetMaximumValue in interface QueryMetadataInterfaceelementID - The element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic int getMaxSetSize(Object modelID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetMaxSetSize in interface QueryMetadataInterfacemodelID - Metadata identifier specifying modelQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic Object getMinimumValue(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetMinimumValue in interface QueryMetadataInterfaceelementID - The element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic Object getModelID(Object groupOrElementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetModelID in interface QueryMetadataInterfacegroupOrElementID - Metadata group or element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic String getNameInSource(Object metadataID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetNameInSource in interface QueryMetadataInterfacemetadataID - Metadata identifierQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic String getNativeType(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetNativeType in interface QueryMetadataInterfaceelementID - Element identifierQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic float getNullValues(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetNullValues in interface QueryMetadataInterfaceelementID - The element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic int getPosition(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetPosition in interface QueryMetadataInterfaceelementID - The element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic int getPrecision(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetPrecision in interface QueryMetadataInterfaceelementID - The element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic Object getPrimaryKeyIDForForeignKeyID(Object foreignKeyID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetPrimaryKeyIDForForeignKeyID in interface QueryMetadataInterfaceforeignKeyID - Metadata identifier of a foreign keyQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic int getRadix(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetRadix in interface QueryMetadataInterfaceelementID - The element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic String getFormat(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetFormat in interface QueryMetadataInterfaceelementID - The element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic int getScale(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetScale in interface QueryMetadataInterfaceelementID - The element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic StoredProcedureInfo getStoredProcedureInfoForProcedure(String fullyQualifiedProcedureName) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetStoredProcedureInfoForProcedure in interface QueryMetadataInterfacefullyQualifiedProcedureName - the fully qualified stored procedure nameQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic Collection getUniqueKeysInGroup(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetUniqueKeysInGroup in interface QueryMetadataInterfacegroupID - Metadata identifier specifying groupQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic String getUpdatePlan(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetUpdatePlan in interface QueryMetadataInterfaceTeiidComponentExceptionQueryMetadataExceptionpublic String[] getVDBResourcePaths() throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetVDBResourcePaths in interface QueryMetadataInterfaceTeiidComponentException - Unexpected internal system problem during requestQueryMetadataException - Metadata implementation detected a problem during the requestpublic String getVirtualDatabaseName() throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetVirtualDatabaseName in interface QueryMetadataInterfaceQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic QueryNode getVirtualPlan(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetVirtualPlan in interface QueryMetadataInterfaceTeiidComponentExceptionQueryMetadataExceptionpublic boolean groupSupports(Object groupID, int groupConstant) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegroupSupports in interface QueryMetadataInterfacegroupID - Group metadata IDgroupConstant - Constant from SupportConstants.GroupQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic boolean hasMaterialization(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacehasMaterialization in interface QueryMetadataInterfacegroupID - the groupID of the virtual group in question.QueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic boolean isProcedure(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfaceisProcedure in interface QueryMetadataInterfacegroupID - Group identifierQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic boolean isTemporaryTable(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfaceisTemporaryTable in interface QueryMetadataInterfacegroupID - Group to checkTeiidComponentExceptionQueryMetadataExceptionpublic boolean isVirtualGroup(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfaceisVirtualGroup in interface QueryMetadataInterfaceQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic boolean isVirtualModel(Object modelID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfaceisVirtualModel in interface QueryMetadataInterfaceQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic boolean modelSupports(Object modelID, int modelConstant) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacemodelSupports in interface QueryMetadataInterfacemodelID - Metadata identifier specifying the modelmodelConstant - Constant from SupportConstants.ModelQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic Object addToMetadataCache(Object metadataID, String key, Object value) throws TeiidComponentException, QueryMetadataException
addToMetadataCache in interface QueryMetadataInterfaceTeiidComponentExceptionQueryMetadataExceptionpublic Object getFromMetadataCache(Object metadataID, String key) throws TeiidComponentException, QueryMetadataException
getFromMetadataCache in interface QueryMetadataInterfaceTeiidComponentExceptionQueryMetadataExceptionpublic boolean isScalarGroup(Object groupID) throws TeiidComponentException, QueryMetadataException
isScalarGroup in interface QueryMetadataInterfaceTeiidComponentExceptionQueryMetadataExceptionpublic FunctionLibrary getFunctionLibrary()
getFunctionLibrary in interface QueryMetadataInterfacepublic Object getPrimaryKey(Object metadataID)
getPrimaryKey in interface QueryMetadataInterfacepublic boolean isMultiSource(Object modelId) throws QueryMetadataException, TeiidComponentException
isMultiSource in interface QueryMetadataInterfaceQueryMetadataExceptionTeiidComponentExceptionpublic boolean isMultiSourceElement(Object elementId) throws QueryMetadataException, TeiidComponentException
isMultiSourceElement in interface QueryMetadataInterfaceQueryMetadataExceptionTeiidComponentExceptionpublic QueryMetadataInterface getDesignTimeMetadata()
QueryMetadataInterfacegetDesignTimeMetadata in interface QueryMetadataInterfaceprotected QueryMetadataInterface createDesignTimeMetadata()
public boolean hasProcedure(String name) throws TeiidComponentException
QueryMetadataInterfacehasProcedure in interface QueryMetadataInterfaceTeiidComponentExceptionpublic String getName(Object metadataID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetName in interface QueryMetadataInterfacemetadataID - Metadata identifierQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic QueryMetadataInterface getSessionMetadata()
getSessionMetadata in interface QueryMetadataInterfacepublic Set<String> getImportedModels()
getImportedModels in interface QueryMetadataInterfacepublic ScriptEngine getScriptEngine(String langauge) throws TeiidProcessingException
getScriptEngine in interface QueryMetadataInterfacelangauge - null is treated as the default of 'javascript'TeiidProcessingException - if the ScriptEngine is requiredpublic boolean isVariadic(Object metadataID)
isVariadic in interface QueryMetadataInterfacepublic Map<Expression,Integer> getFunctionBasedExpressions(Object metadataID)
getFunctionBasedExpressions in interface QueryMetadataInterfacepublic boolean isPseudo(Object elementId)
isPseudo in interface QueryMetadataInterfacepublic Object getModelID(String modelName) throws TeiidComponentException, QueryMetadataException
getModelID in interface QueryMetadataInterfaceTeiidComponentExceptionQueryMetadataExceptionpublic String getExtensionProperty(Object metadataID, String key, boolean checkUnqualified)
getExtensionProperty in interface QueryMetadataInterfacepublic boolean findShortName()
findShortName in interface QueryMetadataInterfacepublic boolean useOutputName()
useOutputName in interface QueryMetadataInterfacepublic boolean widenComparisonToString()
widenComparisonToString in interface QueryMetadataInterfacepublic Class<?> getDataTypeClass(String typeName) throws QueryMetadataException
QueryMetadataInterfacegetDataTypeClass in interface QueryMetadataInterfaceQueryMetadataExceptionpublic boolean isEnvAllowed()
isEnvAllowed in interface QueryMetadataInterfaceCopyright © 2018 JBoss by Red Hat. All rights reserved.