|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.query.metadata.BasicQueryMetadata org.teiid.metadata.TransformationMetadata
public class TransformationMetadata
Modelers implementation of QueryMetadataInterface that reads columns, groups, models etc. index files for various metadata properties.
Field Summary | |
---|---|
static char |
DELIMITER_CHAR
Delimiter character used when specifying fully qualified entity names |
static java.lang.String |
DELIMITER_STRING
|
static java.lang.String |
NOT_EXISTS_MESSAGE
|
Fields inherited from interface com.metamatrix.query.metadata.QueryMetadataInterface |
---|
UNKNOWN_CARDINALITY |
Constructor Summary | |
---|---|
TransformationMetadata(CompositeMetadataStore store)
TransformationMetadata constructor |
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. |
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 |
getFullElementName(java.lang.String fullGroupName,
java.lang.String shortElementName)
Get the fully qualified (unique) element name given the full group name and the short element name. |
java.lang.String |
getFullName(java.lang.Object metadataID)
Get the fully qualified (unique) name of the metadata identifier specified. |
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.lang.String |
getGroupName(java.lang.String fullElementName)
Return the text portion of the fullElementName representing a group. |
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. |
protected CompositeMetadataStore |
getMetadataStore()
|
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 |
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 |
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 |
java.lang.String |
getShortElementName(java.lang.String fullElementName)
Get the short (unique only to group) name of an element, given a fully qualified element name. |
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 |
isProcedure(java.lang.Object groupID)
Determine whether this is a procedure |
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 com.metamatrix.query.metadata.BasicQueryMetadata |
---|
isScalarGroup, isTemporaryTable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final char DELIMITER_CHAR
public static final java.lang.String DELIMITER_STRING
public static java.lang.String NOT_EXISTS_MESSAGE
Constructor Detail |
---|
public TransformationMetadata(CompositeMetadataStore store)
context
- Object containing the info needed to lookup metadta.Method Detail |
---|
public java.lang.Object getElementID(java.lang.String elementName) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getElementID
in interface QueryMetadataInterface
getElementID
in class BasicQueryMetadata
elementName
- Fully qualified element name
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getElementID(String)
public java.lang.Object getGroupID(java.lang.String groupName) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getGroupID
in interface QueryMetadataInterface
getGroupID
in class BasicQueryMetadata
groupName
- Fully qualified group name
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getGroupID(String)
public java.util.Collection getGroupsForPartialName(java.lang.String partialGroupName) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getGroupsForPartialName
in interface QueryMetadataInterface
getGroupsForPartialName
in class BasicQueryMetadata
partialGroupName
- Partially qualified group name
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getGroupID(String)
public java.lang.Object getModelID(java.lang.Object groupOrElementID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getModelID
in interface QueryMetadataInterface
getModelID
in class BasicQueryMetadata
groupOrElementID
- Metadata group or element ID
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getModelID(Object)
public java.lang.String getFullName(java.lang.Object metadataID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getFullName
in interface QueryMetadataInterface
getFullName
in class BasicQueryMetadata
metadataID
- Metadata identifier
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getFullName(Object)
public java.lang.String getFullElementName(java.lang.String fullGroupName, java.lang.String shortElementName) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getFullElementName
in interface QueryMetadataInterface
getFullElementName
in class BasicQueryMetadata
fullGroupName
- Fully qualified group nameshortElementName
- Short element name
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getFullElementName(String, String)
public java.lang.String getShortElementName(java.lang.String fullElementName) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getShortElementName
in interface QueryMetadataInterface
getShortElementName
in class BasicQueryMetadata
fullElementName
- Fully qualified element name
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getShortElementName(String)
public java.lang.String getGroupName(java.lang.String fullElementName) throws MetaMatrixComponentException, QueryMetadataException
getGroupName
in interface QueryMetadataInterface
getGroupName
in class BasicQueryMetadata
fullElementName
- Fully qualified element name
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getGroupName(java.lang.String)
public java.util.List getElementIDsInGroupID(java.lang.Object groupID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getElementIDsInGroupID
in interface QueryMetadataInterface
getElementIDsInGroupID
in class BasicQueryMetadata
groupID
- Group ID
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getElementIDsInGroupID(Object)
public java.lang.Object getGroupIDForElementID(java.lang.Object elementID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getGroupIDForElementID
in interface QueryMetadataInterface
getGroupIDForElementID
in class BasicQueryMetadata
elementID
- Element ID
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getGroupIDForElementID(Object)
public StoredProcedureInfo getStoredProcedureInfoForProcedure(java.lang.String fullyQualifiedProcedureName) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getStoredProcedureInfoForProcedure
in interface QueryMetadataInterface
getStoredProcedureInfoForProcedure
in class BasicQueryMetadata
fullyQualifiedProcedureName
- the fully qualified stored procedure name
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getStoredProcedureInfoForProcedure(String)
public java.lang.String getElementType(java.lang.Object elementID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
DataTypeManager.DefaultDataTypes
.
getElementType
in interface QueryMetadataInterface
getElementType
in class BasicQueryMetadata
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface#getElementType(ElementSymbol)
public java.lang.Object getDefaultValue(java.lang.Object elementID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getDefaultValue
in interface QueryMetadataInterface
getDefaultValue
in class BasicQueryMetadata
elementID
- The element ID
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestpublic java.lang.Object getMinimumValue(java.lang.Object elementID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getMinimumValue
in interface QueryMetadataInterface
getMinimumValue
in class BasicQueryMetadata
elementID
- The element ID
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestpublic java.lang.Object getMaximumValue(java.lang.Object elementID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getMaximumValue
in interface QueryMetadataInterface
getMaximumValue
in class BasicQueryMetadata
elementID
- The element ID
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestpublic boolean isVirtualGroup(java.lang.Object groupID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
isVirtualGroup
in interface QueryMetadataInterface
isVirtualGroup
in class BasicQueryMetadata
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.isVirtualGroup(Object)
public boolean isProcedure(java.lang.Object groupID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
isProcedure
in interface QueryMetadataInterface
isProcedure
in class BasicQueryMetadata
groupID
- Group identifier
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestcom.metamatrix.query.metadata.QueryMetadataInterface#isProcedureInputElement(java.lang.Object)
public boolean isVirtualModel(java.lang.Object modelID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
isVirtualModel
in interface QueryMetadataInterface
isVirtualModel
in class BasicQueryMetadata
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.isVirtualModel(Object)
public QueryNode getVirtualPlan(java.lang.Object groupID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getVirtualPlan
in interface QueryMetadataInterface
getVirtualPlan
in class BasicQueryMetadata
MetaMatrixComponentException
QueryMetadataException
QueryMetadataInterface#getVirtualPlan(GroupSymbol)
public java.lang.String getInsertPlan(java.lang.Object groupID) throws MetaMatrixComponentException, QueryMetadataException
BasicQueryMetadata
getInsertPlan
in interface QueryMetadataInterface
getInsertPlan
in class BasicQueryMetadata
MetaMatrixComponentException
QueryMetadataException
public java.lang.String getUpdatePlan(java.lang.Object groupID) throws MetaMatrixComponentException, QueryMetadataException
BasicQueryMetadata
getUpdatePlan
in interface QueryMetadataInterface
getUpdatePlan
in class BasicQueryMetadata
MetaMatrixComponentException
QueryMetadataException
public java.lang.String getDeletePlan(java.lang.Object groupID) throws MetaMatrixComponentException, QueryMetadataException
BasicQueryMetadata
getDeletePlan
in interface QueryMetadataInterface
getDeletePlan
in class BasicQueryMetadata
MetaMatrixComponentException
QueryMetadataException
public boolean modelSupports(java.lang.Object modelID, int modelConstant) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
modelSupports
in interface QueryMetadataInterface
modelSupports
in class BasicQueryMetadata
modelID
- Metadata identifier specifying the modelmodelConstant
- Constant from SupportConstants.Model
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.modelSupports(Object, int)
public boolean groupSupports(java.lang.Object groupID, int groupConstant) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
groupSupports
in interface QueryMetadataInterface
groupSupports
in class BasicQueryMetadata
groupID
- Group metadata IDgroupConstant
- Constant from SupportConstants.Group
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.groupSupports(Object, int)
public boolean elementSupports(java.lang.Object elementID, int elementConstant) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
elementSupports
in interface QueryMetadataInterface
elementSupports
in class BasicQueryMetadata
elementID
- Element metadata IDelementConstant
- Constant from SupportConstants.Element
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.elementSupports(Object, int)
public int getMaxSetSize(java.lang.Object modelID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getMaxSetSize
in interface QueryMetadataInterface
getMaxSetSize
in class BasicQueryMetadata
modelID
- Metadata identifier specifying model
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getMaxSetSize(Object)
public java.util.Collection getIndexesInGroup(java.lang.Object groupID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getIndexesInGroup
in interface QueryMetadataInterface
getIndexesInGroup
in class BasicQueryMetadata
groupID
- Metadata identifier specifying group
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getIndexesInGroup(java.lang.Object)
public java.util.Collection getUniqueKeysInGroup(java.lang.Object groupID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getUniqueKeysInGroup
in interface QueryMetadataInterface
getUniqueKeysInGroup
in class BasicQueryMetadata
groupID
- Metadata identifier specifying group
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getUniqueKeysInGroup(Object)
public java.util.Collection getForeignKeysInGroup(java.lang.Object groupID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getForeignKeysInGroup
in interface QueryMetadataInterface
getForeignKeysInGroup
in class BasicQueryMetadata
groupID
- Metadata identifier specifying group
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getForeignKeysInGroup(Object)
public java.lang.Object getPrimaryKeyIDForForeignKeyID(java.lang.Object foreignKeyID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getPrimaryKeyIDForForeignKeyID
in interface QueryMetadataInterface
getPrimaryKeyIDForForeignKeyID
in class BasicQueryMetadata
foreignKeyID
- Metadata identifier of a foreign key
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getPrimaryKeyIDForForeignKeyID(Object)
public java.util.Collection getAccessPatternsInGroup(java.lang.Object groupID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getAccessPatternsInGroup
in interface QueryMetadataInterface
getAccessPatternsInGroup
in class BasicQueryMetadata
groupID
- Metadata identifier specifying group
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getAccessPatternsInGroup(Object)
public java.util.List getElementIDsInIndex(java.lang.Object index) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getElementIDsInIndex
in interface QueryMetadataInterface
getElementIDsInIndex
in class BasicQueryMetadata
index
- Index identifier, as returned by QueryMetadataInterface.getIndexesInGroup(java.lang.Object)
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getElementIDsInIndex(java.lang.Object)
public java.util.List getElementIDsInKey(java.lang.Object key) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getElementIDsInKey
in interface QueryMetadataInterface
getElementIDsInKey
in class BasicQueryMetadata
key
- Key identifier, as returned by QueryMetadataInterface.getUniqueKeysInGroup(java.lang.Object)
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getElementIDsInKey(Object)
public java.util.List getElementIDsInAccessPattern(java.lang.Object accessPattern) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getElementIDsInAccessPattern
in interface QueryMetadataInterface
getElementIDsInAccessPattern
in class BasicQueryMetadata
accessPattern
- access pattern identifier, as returned by QueryMetadataInterface.getAccessPatternsInGroup(java.lang.Object)
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getElementIDsInAccessPattern(Object)
public boolean isXMLGroup(java.lang.Object groupID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
isXMLGroup
in interface QueryMetadataInterface
isXMLGroup
in class BasicQueryMetadata
groupID
- Group to check
MetaMatrixComponentException
QueryMetadataException
QueryMetadataInterface.isXMLGroup(Object)
public boolean hasMaterialization(java.lang.Object groupID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
hasMaterialization
in interface QueryMetadataInterface
hasMaterialization
in class BasicQueryMetadata
groupID
- the groupID of the virtual group in question.
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.hasMaterialization(java.lang.Object)
public java.lang.Object getMaterialization(java.lang.Object groupID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
null
if the given virtual group has no Materialization.
getMaterialization
in interface QueryMetadataInterface
getMaterialization
in class BasicQueryMetadata
groupID
- the groupID of a virtual group that has a Materialization.
MetaMatrixComponentException
- Unexpected internal system problem during request
QueryMetadataException
- Metadata implementation detected a problem during the requestQueryMetadataInterface.getMaterialization(java.lang.Object)
public java.lang.Object getMaterializationStage(java.lang.Object groupID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
null
if the given virtual group has no Materialization.
getMaterializationStage
in interface QueryMetadataInterface
getMaterializationStage
in class BasicQueryMetadata
groupID
- the groupID of a virtual group that has a Materialization.
MetaMatrixComponentException
- Unexpected internal system problem during request
QueryMetadataException
- Metadata implementation detected a problem during the requestQueryMetadataInterface.getMaterializationStage(java.lang.Object)
public MappingNode getMappingNode(java.lang.Object groupID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getMappingNode
in interface QueryMetadataInterface
getMappingNode
in class BasicQueryMetadata
groupID
- Metadata group ID
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface#getMappingNode(GroupSymbol)
public java.lang.String getVirtualDatabaseName() throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getVirtualDatabaseName
in interface QueryMetadataInterface
getVirtualDatabaseName
in class BasicQueryMetadata
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getVirtualDatabaseName()
public java.util.Collection getXMLTempGroups(java.lang.Object groupID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getXMLTempGroups
in interface QueryMetadataInterface
getXMLTempGroups
in class BasicQueryMetadata
groupID
- XML virtual document groupID
MetaMatrixComponentException
QueryMetadataException
public int getCardinality(java.lang.Object groupID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getCardinality
in interface QueryMetadataInterface
getCardinality
in class BasicQueryMetadata
groupID
- Metadata identifier specifying group
MetaMatrixComponentException
QueryMetadataException
public java.util.List getXMLSchemas(java.lang.Object groupID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getXMLSchemas
in interface QueryMetadataInterface
getXMLSchemas
in class BasicQueryMetadata
groupID
- Document group ID
MetaMatrixComponentException
QueryMetadataException
public java.lang.String getNameInSource(java.lang.Object metadataID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getNameInSource
in interface QueryMetadataInterface
getNameInSource
in class BasicQueryMetadata
metadataID
- Metadata identifier
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestpublic int getElementLength(java.lang.Object elementID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
DataTypeManager.DefaultDataTypes
.
getElementLength
in interface QueryMetadataInterface
getElementLength
in class BasicQueryMetadata
elementID
- The element ID
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestpublic int getPosition(java.lang.Object elementID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getPosition
in interface QueryMetadataInterface
getPosition
in class BasicQueryMetadata
elementID
- The element ID
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestpublic int getPrecision(java.lang.Object elementID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getPrecision
in interface QueryMetadataInterface
getPrecision
in class BasicQueryMetadata
elementID
- The element ID
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestpublic int getRadix(java.lang.Object elementID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getRadix
in interface QueryMetadataInterface
getRadix
in class BasicQueryMetadata
elementID
- The element ID
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestpublic java.lang.String getFormat(java.lang.Object elementID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getFormat
in interface QueryMetadataInterface
getFormat
in class BasicQueryMetadata
elementID
- The element ID
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestpublic int getScale(java.lang.Object elementID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getScale
in interface QueryMetadataInterface
getScale
in class BasicQueryMetadata
elementID
- The element ID
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestpublic int getDistinctValues(java.lang.Object elementID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getDistinctValues
in interface QueryMetadataInterface
getDistinctValues
in class BasicQueryMetadata
elementID
- The element ID
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getDistinctValues(java.lang.Object)
public int getNullValues(java.lang.Object elementID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getNullValues
in interface QueryMetadataInterface
getNullValues
in class BasicQueryMetadata
elementID
- The element ID
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getNullValues(java.lang.Object)
public java.lang.String getNativeType(java.lang.Object elementID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getNativeType
in interface QueryMetadataInterface
getNativeType
in class BasicQueryMetadata
elementID
- Element identifier
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestpublic java.util.Properties getExtensionProperties(java.lang.Object metadataID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getExtensionProperties
in interface QueryMetadataInterface
getExtensionProperties
in class BasicQueryMetadata
metadataID
- Typically element, group, model, or procedure
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestpublic byte[] getBinaryVDBResource(java.lang.String resourcePath) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getBinaryVDBResource
in interface QueryMetadataInterface
getBinaryVDBResource
in class BasicQueryMetadata
resourcePath
- a path returned by getVDBResourcePaths()
MetaMatrixComponentException
- Unexpected internal system problem during request
QueryMetadataException
- Metadata implementation detected a problem during the requestBasicQueryMetadata.getBinaryVDBResource(java.lang.String)
public java.lang.String getCharacterVDBResource(java.lang.String resourcePath) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getCharacterVDBResource
in interface QueryMetadataInterface
getCharacterVDBResource
in class BasicQueryMetadata
resourcePath
- a path returned by getVDBResourcePaths()
MetaMatrixComponentException
- Unexpected internal system problem during request
QueryMetadataException
- Metadata implementation detected a problem during the requestBasicQueryMetadata.getCharacterVDBResource(java.lang.String)
protected CompositeMetadataStore getMetadataStore()
public java.lang.String[] getVDBResourcePaths() throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getVDBResourcePaths
in interface QueryMetadataInterface
getVDBResourcePaths
in class BasicQueryMetadata
MetaMatrixComponentException
- Unexpected internal system problem during request
QueryMetadataException
- Metadata implementation detected a problem during the requestBasicQueryMetadata.getVDBResourcePaths()
public java.lang.String getModeledType(java.lang.Object elementID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getModeledType
in interface QueryMetadataInterface
getModeledType
in class BasicQueryMetadata
elementID
- Element identifier
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getModeledType(java.lang.Object)
public java.lang.String getModeledBaseType(java.lang.Object elementID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getModeledBaseType
in interface QueryMetadataInterface
getModeledBaseType
in class BasicQueryMetadata
elementID
- Element identifier
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getModeledBaseType(java.lang.Object)
public java.lang.String getModeledPrimitiveType(java.lang.Object elementID) throws MetaMatrixComponentException, QueryMetadataException
QueryMetadataInterface
getModeledPrimitiveType
in interface QueryMetadataInterface
getModeledPrimitiveType
in class BasicQueryMetadata
elementID
- Element identifier
QueryMetadataException
- Metadata implementation detected a problem during the request
MetaMatrixComponentException
- Unexpected internal system problem during requestQueryMetadataInterface.getModeledPrimitiveType(java.lang.Object)
public java.lang.Object addToMetadataCache(java.lang.Object metadataID, java.lang.String key, java.lang.Object value) throws MetaMatrixComponentException, QueryMetadataException
addToMetadataCache
in interface QueryMetadataInterface
addToMetadataCache
in class BasicQueryMetadata
MetaMatrixComponentException
QueryMetadataException
public java.lang.Object getFromMetadataCache(java.lang.Object metadataID, java.lang.String key) throws MetaMatrixComponentException, QueryMetadataException
getFromMetadataCache
in interface QueryMetadataInterface
getFromMetadataCache
in class BasicQueryMetadata
MetaMatrixComponentException
QueryMetadataException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |