|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.teiid.query.metadata.BasicQueryMetadataWrapper
public class BasicQueryMetadataWrapper
| Field Summary | |
|---|---|
protected QueryMetadataInterface |
actualMetadata
|
| Fields inherited from interface org.teiid.query.metadata.QueryMetadataInterface |
|---|
UNKNOWN_CARDINALITY |
| Constructor Summary | |
|---|---|
BasicQueryMetadataWrapper(QueryMetadataInterface actualMetadata)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
addToMetadataCache(java.lang.Object metadataID,
java.lang.String key,
java.lang.Object value)
|
boolean |
elementSupports(java.lang.Object elementID,
int elementConstant)
Determine whether the specified element supports some feature. |
java.util.Collection |
getAccessPatternsInGroup(java.lang.Object groupID)
Get the access patterns for the specified group |
byte[] |
getBinaryVDBResource(java.lang.String resourcePath)
Gets the contents of a VDB resource in binary form. |
int |
getCardinality(java.lang.Object groupID)
Return the cardinality for this group |
java.lang.String |
getCharacterVDBResource(java.lang.String resourcePath)
Gets the contents of a VDB resource as a String. |
java.lang.Object |
getDefaultValue(java.lang.Object elementID)
Get the element's default value for an element symbol |
java.lang.String |
getDeletePlan(java.lang.Object groupID)
Get procedure defining the delete plan for this group. |
QueryMetadataInterface |
getDesignTimeMetadata()
Get the metadata without visibility and session tables |
int |
getDistinctValues(java.lang.Object elementID)
Get the number of distinct values for this column. |
java.lang.Object |
getElementID(java.lang.String elementName)
Get the metadata-implementation identifier object for the given element name. |
java.util.List |
getElementIDsInAccessPattern(java.lang.Object accessPattern)
Get the elements in the access pattern |
java.util.List |
getElementIDsInGroupID(java.lang.Object groupID)
Get list of metadata element IDs for a group ID |
java.util.List |
getElementIDsInIndex(java.lang.Object index)
Get the elements in the index |
java.util.List |
getElementIDsInKey(java.lang.Object key)
Get the elements in the key |
int |
getElementLength(java.lang.Object elementID)
Get the element length for a given element ID. |
java.lang.String |
getElementType(java.lang.Object elementID)
Get the element type name for an element symbol. |
java.util.Properties |
getExtensionProperties(java.lang.Object metadataID)
Get all extension properties defined on this metadata object |
java.util.Collection |
getForeignKeysInGroup(java.lang.Object groupID)
Get the foreign keys for the specified group |
java.lang.String |
getFormat(java.lang.Object elementID)
Get the element's format |
java.lang.Object |
getFromMetadataCache(java.lang.Object metadataID,
java.lang.String key)
|
java.lang.String |
getFullName(java.lang.Object metadataID)
Get the fully qualified (unique) name of the metadata identifier specified. |
FunctionLibrary |
getFunctionLibrary()
|
java.lang.Object |
getGroupID(java.lang.String groupName)
Get the metadata-implementation identifier object for the given group name. |
java.lang.Object |
getGroupIDForElementID(java.lang.Object elementID)
Get containg group ID given element ID |
java.util.Collection |
getGroupsForPartialName(java.lang.String partialGroupName)
Get a collection of group names that match the partially qualified group name. |
java.util.Collection |
getIndexesInGroup(java.lang.Object groupID)
Get the indexes for the specified group |
java.lang.String |
getInsertPlan(java.lang.Object groupID)
Get procedure defining the insert plan for this group. |
MappingNode |
getMappingNode(java.lang.Object groupID)
Get the mapping node for the given groupID |
java.lang.Object |
getMaterialization(java.lang.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. |
java.lang.Object |
getMaterializationStage(java.lang.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. |
java.lang.Object |
getMaximumValue(java.lang.Object elementID)
Get the element's default value for an element symbol |
int |
getMaxSetSize(java.lang.Object modelID)
Get the max set size for the specified model. |
java.lang.Object |
getMinimumValue(java.lang.Object elementID)
Get the element's minimum value for an element symbol |
java.lang.String |
getModeledBaseType(java.lang.Object elementID)
Get the design-time model base type of the element specified. |
java.lang.String |
getModeledPrimitiveType(java.lang.Object elementID)
Get the design-time model primitive type of the element specified. |
java.lang.String |
getModeledType(java.lang.Object elementID)
Get the design-time model type of the element specified. |
java.lang.Object |
getModelID(java.lang.Object groupOrElementID)
Get the metadata-implementation identifier object for the model containing the specified group or element ID. |
java.lang.String |
getName(java.lang.Object metadataID)
Get the name of the metadata identifier specified. |
java.lang.String |
getNameInSource(java.lang.Object metadataID)
Get the name in source of the metadata identifier specified. |
java.lang.String |
getNativeType(java.lang.Object elementID)
Get the native type of the element specified. |
int |
getNullValues(java.lang.Object elementID)
Get the number of distinct values for this column. |
int |
getPosition(java.lang.Object elementID)
Get the element's position in the group |
int |
getPrecision(java.lang.Object elementID)
Get the element's precision |
java.lang.Object |
getPrimaryKey(java.lang.Object metadataID)
|
java.lang.Object |
getPrimaryKeyIDForForeignKeyID(java.lang.Object foreignKeyID)
Get the corresponding primary key ID for the specified foreign key ID |
int |
getRadix(java.lang.Object elementID)
Get the element's radix |
int |
getScale(java.lang.Object elementID)
Get the element's scale |
QueryMetadataInterface |
getSessionMetadata()
|
StoredProcedureInfo |
getStoredProcedureInfoForProcedure(java.lang.String fullyQualifiedProcedureName)
Get the the StoredProcedureInfo based on the fully qualified procedure name |
java.util.Collection |
getUniqueKeysInGroup(java.lang.Object groupID)
Get the unique keys for the specified group (primary and unique keys) |
java.lang.String |
getUpdatePlan(java.lang.Object groupID)
Get procedure defining the update plan for this group. |
java.lang.String[] |
getVDBResourcePaths()
Gets the resource paths of all the resources in the VDB. |
java.lang.String |
getVirtualDatabaseName()
Get the currently connected virtual database name. |
QueryNode |
getVirtualPlan(java.lang.Object groupID)
Get virtual plan for a group symbol. |
java.util.List |
getXMLSchemas(java.lang.Object groupID)
Get XML schemas for a document group. |
java.util.Collection |
getXMLTempGroups(java.lang.Object groupID)
Return a list of all the temp groups used in this document. |
boolean |
groupSupports(java.lang.Object groupID,
int groupConstant)
Determine whether the specified group supports some feature. |
boolean |
hasMaterialization(java.lang.Object groupID)
Determine whether given virtual group has an associated Materialization. |
boolean |
hasProcedure(java.lang.String name)
Return true if a procedure exists with the given name (partial or fqn) |
boolean |
isMultiSource(java.lang.Object modelId)
|
boolean |
isMultiSourceElement(java.lang.Object elementId)
|
boolean |
isProcedure(java.lang.Object groupID)
Determine whether this is a procedure |
boolean |
isScalarGroup(java.lang.Object groupID)
|
boolean |
isTemporaryTable(java.lang.Object groupID)
Determine whether a group is a temporary table. |
boolean |
isVirtualGroup(java.lang.Object groupID)
Determine whether a group is virtual or not. |
boolean |
isVirtualModel(java.lang.Object modelID)
Determine whether a model is virtual or not. |
boolean |
isXMLGroup(java.lang.Object groupID)
Determine whether a group is an XML virtual document. |
boolean |
modelSupports(java.lang.Object modelID,
int modelConstant)
Determine whether the specified model supports some feature. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected QueryMetadataInterface actualMetadata
| Constructor Detail |
|---|
public BasicQueryMetadataWrapper(QueryMetadataInterface actualMetadata)
| Method Detail |
|---|
public boolean elementSupports(java.lang.Object elementID,
int elementConstant)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
elementSupports in interface QueryMetadataInterfaceelementID - Element metadata IDelementConstant - Constant from SupportConstants.Element
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.util.Collection getAccessPatternsInGroup(java.lang.Object groupID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getAccessPatternsInGroup in interface QueryMetadataInterfacegroupID - Metadata identifier specifying group
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public byte[] getBinaryVDBResource(java.lang.String resourcePath)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getBinaryVDBResource in interface QueryMetadataInterfaceresourcePath - a path returned by getVDBResourcePaths()
TeiidComponentException - Unexpected internal system problem during request
QueryMetadataException - Metadata implementation detected a problem during the request
public int getCardinality(java.lang.Object groupID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getCardinality in interface QueryMetadataInterfacegroupID - Metadata identifier specifying group
TeiidComponentException
QueryMetadataException
public java.lang.String getCharacterVDBResource(java.lang.String resourcePath)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getCharacterVDBResource in interface QueryMetadataInterfaceresourcePath - a path returned by getVDBResourcePaths()
TeiidComponentException - Unexpected internal system problem during request
QueryMetadataException - Metadata implementation detected a problem during the request
public java.lang.Object getDefaultValue(java.lang.Object elementID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getDefaultValue in interface QueryMetadataInterfaceelementID - The element ID
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.lang.String getDeletePlan(java.lang.Object groupID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getDeletePlan in interface QueryMetadataInterfaceTeiidComponentException
QueryMetadataException
public int getDistinctValues(java.lang.Object elementID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getDistinctValues in interface QueryMetadataInterfaceelementID - The element ID
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.lang.Object getElementID(java.lang.String elementName)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getElementID in interface QueryMetadataInterfaceelementName - Fully qualified element name
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.util.List getElementIDsInAccessPattern(java.lang.Object accessPattern)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getElementIDsInAccessPattern in interface QueryMetadataInterfaceaccessPattern - access pattern identifier, as returned by QueryMetadataInterface.getAccessPatternsInGroup(java.lang.Object)
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.util.List getElementIDsInGroupID(java.lang.Object groupID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getElementIDsInGroupID in interface QueryMetadataInterfacegroupID - Group ID
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.util.List getElementIDsInIndex(java.lang.Object index)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getElementIDsInIndex in interface QueryMetadataInterfaceindex - Index identifier, as returned by QueryMetadataInterface.getIndexesInGroup(java.lang.Object)
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.util.List getElementIDsInKey(java.lang.Object key)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getElementIDsInKey in interface QueryMetadataInterfacekey - Key identifier, as returned by QueryMetadataInterface.getUniqueKeysInGroup(java.lang.Object)
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public int getElementLength(java.lang.Object elementID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterfaceDataTypeManager.DefaultDataTypes.
getElementLength in interface QueryMetadataInterfaceelementID - The element ID
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.lang.String getElementType(java.lang.Object elementID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterfaceDataTypeManager.DefaultDataTypes.
getElementType in interface QueryMetadataInterfaceQueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.util.Properties getExtensionProperties(java.lang.Object metadataID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getExtensionProperties in interface QueryMetadataInterfacemetadataID - Typically element, group, model, or procedure
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.util.Collection getForeignKeysInGroup(java.lang.Object groupID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getForeignKeysInGroup in interface QueryMetadataInterfacegroupID - Metadata identifier specifying group
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.lang.String getFullName(java.lang.Object metadataID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getFullName in interface QueryMetadataInterfacemetadataID - Metadata identifier
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.lang.Object getGroupID(java.lang.String groupName)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getGroupID in interface QueryMetadataInterfacegroupName - Fully qualified group name
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.lang.Object getGroupIDForElementID(java.lang.Object elementID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getGroupIDForElementID in interface QueryMetadataInterfaceelementID - Element ID
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.util.Collection getGroupsForPartialName(java.lang.String partialGroupName)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getGroupsForPartialName in interface QueryMetadataInterfacepartialGroupName - Partially qualified group name
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.util.Collection getIndexesInGroup(java.lang.Object groupID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getIndexesInGroup in interface QueryMetadataInterfacegroupID - Metadata identifier specifying group
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.lang.String getInsertPlan(java.lang.Object groupID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getInsertPlan in interface QueryMetadataInterfaceTeiidComponentException
QueryMetadataException
public MappingNode getMappingNode(java.lang.Object groupID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getMappingNode in interface QueryMetadataInterfacegroupID - Metadata group ID
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.lang.Object getMaterialization(java.lang.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 request
QueryMetadataException - Metadata implementation detected a problem during the request
public java.lang.Object getMaterializationStage(java.lang.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 request
QueryMetadataException - Metadata implementation detected a problem during the request
public java.lang.Object getMaximumValue(java.lang.Object elementID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getMaximumValue in interface QueryMetadataInterfaceelementID - The element ID
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public int getMaxSetSize(java.lang.Object modelID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getMaxSetSize in interface QueryMetadataInterfacemodelID - Metadata identifier specifying model
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.lang.Object getMinimumValue(java.lang.Object elementID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getMinimumValue in interface QueryMetadataInterfaceelementID - The element ID
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.lang.String getModeledBaseType(java.lang.Object elementID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getModeledBaseType in interface QueryMetadataInterfaceelementID - Element identifier
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.lang.String getModeledPrimitiveType(java.lang.Object elementID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getModeledPrimitiveType in interface QueryMetadataInterfaceelementID - Element identifier
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.lang.String getModeledType(java.lang.Object elementID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getModeledType in interface QueryMetadataInterfaceelementID - Element identifier
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.lang.Object getModelID(java.lang.Object groupOrElementID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getModelID in interface QueryMetadataInterfacegroupOrElementID - Metadata group or element ID
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.lang.String getNameInSource(java.lang.Object metadataID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getNameInSource in interface QueryMetadataInterfacemetadataID - Metadata identifier
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.lang.String getNativeType(java.lang.Object elementID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getNativeType in interface QueryMetadataInterfaceelementID - Element identifier
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public int getNullValues(java.lang.Object elementID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getNullValues in interface QueryMetadataInterfaceelementID - The element ID
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public int getPosition(java.lang.Object elementID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getPosition in interface QueryMetadataInterfaceelementID - The element ID
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public int getPrecision(java.lang.Object elementID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getPrecision in interface QueryMetadataInterfaceelementID - The element ID
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.lang.Object getPrimaryKeyIDForForeignKeyID(java.lang.Object foreignKeyID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getPrimaryKeyIDForForeignKeyID in interface QueryMetadataInterfaceforeignKeyID - Metadata identifier of a foreign key
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public int getRadix(java.lang.Object elementID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getRadix in interface QueryMetadataInterfaceelementID - The element ID
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.lang.String getFormat(java.lang.Object elementID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getFormat in interface QueryMetadataInterfaceelementID - The element ID
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public int getScale(java.lang.Object elementID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getScale in interface QueryMetadataInterfaceelementID - The element ID
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public StoredProcedureInfo getStoredProcedureInfoForProcedure(java.lang.String fullyQualifiedProcedureName)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getStoredProcedureInfoForProcedure in interface QueryMetadataInterfacefullyQualifiedProcedureName - the fully qualified stored procedure name
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.util.Collection getUniqueKeysInGroup(java.lang.Object groupID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getUniqueKeysInGroup in interface QueryMetadataInterfacegroupID - Metadata identifier specifying group
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.lang.String getUpdatePlan(java.lang.Object groupID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getUpdatePlan in interface QueryMetadataInterfaceTeiidComponentException
QueryMetadataException
public java.lang.String[] getVDBResourcePaths()
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getVDBResourcePaths in interface QueryMetadataInterfaceTeiidComponentException - Unexpected internal system problem during request
QueryMetadataException - Metadata implementation detected a problem during the request
public java.lang.String getVirtualDatabaseName()
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getVirtualDatabaseName in interface QueryMetadataInterfaceQueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public QueryNode getVirtualPlan(java.lang.Object groupID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getVirtualPlan in interface QueryMetadataInterfaceTeiidComponentException
QueryMetadataException
public java.util.List getXMLSchemas(java.lang.Object groupID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getXMLSchemas in interface QueryMetadataInterfacegroupID - Document group ID
TeiidComponentException
QueryMetadataException
public java.util.Collection getXMLTempGroups(java.lang.Object groupID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getXMLTempGroups in interface QueryMetadataInterfacegroupID - XML virtual document groupID
TeiidComponentException
QueryMetadataException
public boolean groupSupports(java.lang.Object groupID,
int groupConstant)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
groupSupports in interface QueryMetadataInterfacegroupID - Group metadata IDgroupConstant - Constant from SupportConstants.Group
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public boolean hasMaterialization(java.lang.Object groupID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
hasMaterialization in interface QueryMetadataInterfacegroupID - the groupID of the virtual group in question.
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public boolean isProcedure(java.lang.Object groupID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
isProcedure in interface QueryMetadataInterfacegroupID - Group identifier
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public boolean isTemporaryTable(java.lang.Object groupID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
isTemporaryTable in interface QueryMetadataInterfacegroupID - Group to check
TeiidComponentException
QueryMetadataException
public boolean isVirtualGroup(java.lang.Object groupID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
isVirtualGroup in interface QueryMetadataInterfaceQueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public boolean isVirtualModel(java.lang.Object modelID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
isVirtualModel in interface QueryMetadataInterfaceQueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public boolean isXMLGroup(java.lang.Object groupID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
isXMLGroup in interface QueryMetadataInterfacegroupID - Group to check
TeiidComponentException
QueryMetadataException
public boolean modelSupports(java.lang.Object modelID,
int modelConstant)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
modelSupports in interface QueryMetadataInterfacemodelID - Metadata identifier specifying the modelmodelConstant - Constant from SupportConstants.Model
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during request
public java.lang.Object addToMetadataCache(java.lang.Object metadataID,
java.lang.String key,
java.lang.Object value)
throws TeiidComponentException,
QueryMetadataException
addToMetadataCache in interface QueryMetadataInterfaceTeiidComponentException
QueryMetadataException
public java.lang.Object getFromMetadataCache(java.lang.Object metadataID,
java.lang.String key)
throws TeiidComponentException,
QueryMetadataException
getFromMetadataCache in interface QueryMetadataInterfaceTeiidComponentException
QueryMetadataException
public boolean isScalarGroup(java.lang.Object groupID)
throws TeiidComponentException,
QueryMetadataException
isScalarGroup in interface QueryMetadataInterfaceTeiidComponentException
QueryMetadataExceptionpublic FunctionLibrary getFunctionLibrary()
getFunctionLibrary in interface QueryMetadataInterfacepublic java.lang.Object getPrimaryKey(java.lang.Object metadataID)
getPrimaryKey in interface QueryMetadataInterface
public boolean isMultiSource(java.lang.Object modelId)
throws QueryMetadataException,
TeiidComponentException
isMultiSource in interface QueryMetadataInterfaceQueryMetadataException
TeiidComponentException
public boolean isMultiSourceElement(java.lang.Object elementId)
throws QueryMetadataException,
TeiidComponentException
isMultiSourceElement in interface QueryMetadataInterfaceQueryMetadataException
TeiidComponentExceptionpublic QueryMetadataInterface getDesignTimeMetadata()
QueryMetadataInterface
getDesignTimeMetadata in interface QueryMetadataInterface
public boolean hasProcedure(java.lang.String name)
throws TeiidComponentException
QueryMetadataInterface
hasProcedure in interface QueryMetadataInterfaceTeiidComponentException
public java.lang.String getName(java.lang.Object metadataID)
throws TeiidComponentException,
QueryMetadataException
QueryMetadataInterface
getName in interface QueryMetadataInterfacemetadataID - Metadata identifier
QueryMetadataException - Metadata implementation detected a problem during the request
TeiidComponentException - Unexpected internal system problem during requestpublic QueryMetadataInterface getSessionMetadata()
getSessionMetadata in interface QueryMetadataInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||