|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.query.metadata.BasicQueryMetadata
com.metamatrix.modeler.transformation.metadata.TransformationMetadata
public abstract class TransformationMetadata
Modelers implementation of QueryMetadataInterface that reads columns, groups, models etc. index files for various metadata properties.
| Field Summary | |
|---|---|
static ColumnRecordComparator |
columnComparator
|
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 | |
|---|---|
protected |
TransformationMetadata(QueryMetadataContext context)
TransformationMetadata constructor |
| Method Summary | |
|---|---|
boolean |
elementSupports(java.lang.Object elementID,
int elementConstant)
|
protected void |
filterMetadataRecordForUUID(java.lang.String uuid,
java.util.Collection records)
Remove any MetadataRecord instances that do not match the specified uuid Due to the pattern matching used to query index files if an index record matched the specified uuid string anywhere in that record it would be returned in the results (for example, if the parent ObjectID in the index record matched the specified uuid). |
protected java.util.Collection |
findChildRecords(MetadataRecord parentRecord,
char childRecordType)
Return all index file records that match the specified entity name, filtering by matching on parent uuid |
protected java.util.Collection |
findChildRecordsForColumns(MetadataRecord parentRecord,
char childRecordType,
java.util.List uuids)
Return all index file records that match the specified entity name, filtering by matching on the child uuids |
protected java.util.Collection |
findChildRecordsWithoutFiltering(MetadataRecord parentRecord,
char childRecordType)
Return all index file records that match the specified entity name, without filtering |
protected MetadataRecord |
findMetadataRecord(IEntryResult result)
|
protected java.util.Collection |
findMetadataRecords(char recordType,
java.lang.String entityName,
boolean isPartialName)
Return all index file records that match the specified entity name |
protected java.util.Collection |
findMetadataRecords(IEntryResult[] results)
Return all index file records that match the specified entity name |
java.util.Collection |
getAccessPatternsInGroup(java.lang.Object groupID)
|
byte[] |
getBinaryVDBResource(java.lang.String resourcePath)
|
int |
getCardinality(java.lang.Object groupID)
|
java.lang.String |
getCharacterVDBResource(java.lang.String resourcePath)
|
protected QueryMetadataContext |
getContext()
Return the QueryMetadataContext reference |
protected DatatypeRecord |
getDatatypeRecord(java.lang.Object elementID)
|
protected java.lang.String |
getDatatypeUUIDMatchPattern(java.lang.String uuid)
Return the pattern match string that could be used to match a UUID in a datatype index record. |
java.lang.Object |
getDefaultValue(java.lang.Object elementID)
|
java.lang.String |
getDeletePlan(java.lang.Object groupID)
|
int |
getDistinctValues(java.lang.Object elementID)
|
java.lang.Object |
getElementID(java.lang.String elementName)
|
java.util.List |
getElementIDsInAccessPattern(java.lang.Object accessPattern)
|
java.util.List |
getElementIDsInGroupID(java.lang.Object groupID)
|
java.util.List |
getElementIDsInIndex(java.lang.Object index)
|
java.util.List |
getElementIDsInKey(java.lang.Object key)
|
int |
getElementLength(java.lang.Object elementID)
|
java.lang.String |
getElementType(java.lang.Object elementID)
|
java.util.Properties |
getExtensionProperties(java.lang.Object metadataID)
|
java.util.Collection |
getForeignKeysInGroup(java.lang.Object groupID)
|
java.lang.String |
getFormat(java.lang.Object elementID)
|
java.lang.String |
getFullElementName(java.lang.String fullGroupName,
java.lang.String shortElementName)
|
java.lang.String |
getFullName(java.lang.Object metadataID)
|
java.lang.Object |
getGroupID(java.lang.String groupName)
|
java.lang.Object |
getGroupIDForElementID(java.lang.Object elementID)
|
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)
|
protected com.metamatrix.internal.core.index.Index[] |
getIndexes(char recordType,
IndexSelector selector)
Return the array of MtkIndex instances representing temporary indexes |
java.util.Collection |
getIndexesInGroup(java.lang.Object groupID)
|
protected IndexSelector |
getIndexSelector()
Return the IndexSelector reference |
java.lang.String |
getInsertPlan(java.lang.Object groupID)
|
MappingNode |
getMappingNode(java.lang.Object groupID)
|
protected java.lang.String |
getMatchPattern(char recordType,
java.lang.String name)
Return the pattern match string that could be used to match a partially/fully qualified entity name in an index record. |
java.lang.Object |
getMaterialization(java.lang.Object groupID)
|
java.lang.Object |
getMaterializationStage(java.lang.Object groupID)
|
java.lang.Object |
getMaximumValue(java.lang.Object elementID)
|
int |
getMaxSetSize(java.lang.Object modelID)
|
java.lang.Object |
getMinimumValue(java.lang.Object elementID)
|
java.lang.String |
getModeledBaseType(java.lang.Object elementID)
|
java.lang.String |
getModeledPrimitiveType(java.lang.Object elementID)
|
java.lang.String |
getModeledType(java.lang.Object elementID)
|
java.lang.Object |
getModelID(java.lang.Object groupOrElementID)
|
java.lang.String |
getNameInSource(java.lang.Object metadataID)
|
java.lang.String |
getNativeType(java.lang.Object elementID)
|
int |
getNullValues(java.lang.Object elementID)
|
protected java.lang.String |
getParentPrefixPattern(char recordType,
java.lang.String name)
Return the prefix match string that could be used to exactly match a fully qualified entity name in an index record. |
int |
getPosition(java.lang.Object elementID)
|
int |
getPrecision(java.lang.Object elementID)
|
protected java.lang.String |
getPrefixPattern(char recordType,
java.lang.String name)
Return the prefix match string that could be used to exactly match a fully qualified entity name in an index record. |
java.lang.Object |
getPrimaryKeyIDForForeignKeyID(java.lang.Object foreignKeyID)
|
int |
getRadix(java.lang.Object elementID)
|
protected MetadataRecord |
getRecordByType(java.lang.String entityName,
char recordType)
Get a MetadataRecord object given a entityName/UUID. |
int |
getScale(java.lang.Object elementID)
|
java.lang.String |
getShortElementName(java.lang.String fullElementName)
|
StoredProcedureInfo |
getStoredProcedureInfoForProcedure(java.lang.String fullyQualifiedProcedureName)
|
java.util.Collection |
getUniqueKeysInGroup(java.lang.Object groupID)
|
java.lang.String |
getUpdatePlan(java.lang.Object groupID)
|
protected java.lang.String |
getUUIDMatchPattern(char recordType,
java.lang.String uuid)
Return the pattern match string that could be used to match a UUID in an index record. |
protected java.lang.String |
getUUIDPrefixPattern(char recordType,
java.lang.String uuid)
Return the prefix match string that could be used to exactly match a uuid in an index record. |
java.lang.String[] |
getVDBResourcePaths()
|
java.lang.String |
getVirtualDatabaseName()
|
QueryNode |
getVirtualPlan(java.lang.Object groupID)
|
java.util.List |
getXMLSchemas(java.lang.Object groupID)
|
java.util.Collection |
getXMLTempGroups(java.lang.Object groupID)
|
boolean |
groupSupports(java.lang.Object groupID,
int groupConstant)
|
boolean |
hasMaterialization(java.lang.Object groupID)
|
boolean |
isProcedure(java.lang.Object groupID)
|
boolean |
isTemporaryGroup(java.lang.Object groupID)
|
boolean |
isVirtualGroup(java.lang.Object groupID)
|
boolean |
isVirtualModel(java.lang.Object modelID)
|
boolean |
isXMLGroup(java.lang.Object groupID)
|
boolean |
modelSupports(java.lang.Object modelID,
int modelConstant)
|
protected IEntryResult[] |
queryIndex(char recordType,
java.lang.String entityName,
boolean isPartialName)
Return all index file records that match the specified entity name |
protected IEntryResult[] |
queryIndex(com.metamatrix.internal.core.index.Index[] indexes,
char[] pattern,
boolean isPrefix,
boolean returnFirstMatch)
Return all index file records that match the specified record pattern. |
protected IEntryResult[] |
queryIndex(com.metamatrix.internal.core.index.Index[] indexes,
char[] pattern,
boolean isPrefix,
boolean isCaseSensitive,
boolean returnFirstMatch)
Return all index file records that match the specified record pattern. |
| Methods inherited from class com.metamatrix.query.metadata.BasicQueryMetadata |
|---|
addToMetadataCache, getFromMetadataCache, 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 ColumnRecordComparator columnComparator
public static java.lang.String NOT_EXISTS_MESSAGE
| Constructor Detail |
|---|
protected TransformationMetadata(QueryMetadataContext context)
context - Object containing the info needed to lookup metadta.| Method Detail |
|---|
public java.lang.Object getElementID(java.lang.String elementName)
throws MetaMatrixComponentException,
QueryMetadataException
getElementID in interface QueryMetadataInterfacegetElementID in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.lang.Object getGroupID(java.lang.String groupName)
throws MetaMatrixComponentException,
QueryMetadataException
getGroupID in interface QueryMetadataInterfacegetGroupID in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.util.Collection getGroupsForPartialName(java.lang.String partialGroupName)
throws MetaMatrixComponentException,
QueryMetadataException
getGroupsForPartialName in interface QueryMetadataInterfacegetGroupsForPartialName in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.lang.Object getModelID(java.lang.Object groupOrElementID)
throws MetaMatrixComponentException,
QueryMetadataException
getModelID in interface QueryMetadataInterfacegetModelID in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.lang.String getFullName(java.lang.Object metadataID)
throws MetaMatrixComponentException,
QueryMetadataException
getFullName in interface QueryMetadataInterfacegetFullName in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.lang.String getFullElementName(java.lang.String fullGroupName,
java.lang.String shortElementName)
throws MetaMatrixComponentException,
QueryMetadataException
getFullElementName in interface QueryMetadataInterfacegetFullElementName in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.lang.String getShortElementName(java.lang.String fullElementName)
throws MetaMatrixComponentException,
QueryMetadataException
getShortElementName in interface QueryMetadataInterfacegetShortElementName in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.lang.String getGroupName(java.lang.String fullElementName)
throws MetaMatrixComponentException,
QueryMetadataException
getGroupName in interface QueryMetadataInterfacegetGroupName in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataExceptionQueryMetadataInterface.getGroupName(java.lang.String)
public java.util.List getElementIDsInGroupID(java.lang.Object groupID)
throws MetaMatrixComponentException,
QueryMetadataException
getElementIDsInGroupID in interface QueryMetadataInterfacegetElementIDsInGroupID in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.lang.Object getGroupIDForElementID(java.lang.Object elementID)
throws MetaMatrixComponentException,
QueryMetadataException
getGroupIDForElementID in interface QueryMetadataInterfacegetGroupIDForElementID in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public StoredProcedureInfo getStoredProcedureInfoForProcedure(java.lang.String fullyQualifiedProcedureName)
throws MetaMatrixComponentException,
QueryMetadataException
getStoredProcedureInfoForProcedure in interface QueryMetadataInterfacegetStoredProcedureInfoForProcedure in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.lang.String getElementType(java.lang.Object elementID)
throws MetaMatrixComponentException,
QueryMetadataException
getElementType in interface QueryMetadataInterfacegetElementType in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.lang.Object getDefaultValue(java.lang.Object elementID)
throws MetaMatrixComponentException,
QueryMetadataException
getDefaultValue in interface QueryMetadataInterfacegetDefaultValue in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.lang.Object getMinimumValue(java.lang.Object elementID)
throws MetaMatrixComponentException,
QueryMetadataException
getMinimumValue in interface QueryMetadataInterfacegetMinimumValue in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.lang.Object getMaximumValue(java.lang.Object elementID)
throws MetaMatrixComponentException,
QueryMetadataException
getMaximumValue in interface QueryMetadataInterfacegetMaximumValue in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public boolean isVirtualGroup(java.lang.Object groupID)
throws MetaMatrixComponentException,
QueryMetadataException
isVirtualGroup in interface QueryMetadataInterfaceisVirtualGroup in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public boolean isProcedure(java.lang.Object groupID)
throws MetaMatrixComponentException,
QueryMetadataException
isProcedure in interface QueryMetadataInterfaceisProcedure in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataExceptioncom.metamatrix.query.metadata.QueryMetadataInterface#isProcedureInputElement(java.lang.Object)
public boolean isVirtualModel(java.lang.Object modelID)
throws MetaMatrixComponentException,
QueryMetadataException
isVirtualModel in interface QueryMetadataInterfaceisVirtualModel in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public QueryNode getVirtualPlan(java.lang.Object groupID)
throws MetaMatrixComponentException,
QueryMetadataException
getVirtualPlan in interface QueryMetadataInterfacegetVirtualPlan in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.lang.String getInsertPlan(java.lang.Object groupID)
throws MetaMatrixComponentException,
QueryMetadataException
getInsertPlan in interface QueryMetadataInterfacegetInsertPlan in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.lang.String getUpdatePlan(java.lang.Object groupID)
throws MetaMatrixComponentException,
QueryMetadataException
getUpdatePlan in interface QueryMetadataInterfacegetUpdatePlan in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.lang.String getDeletePlan(java.lang.Object groupID)
throws MetaMatrixComponentException,
QueryMetadataException
getDeletePlan in interface QueryMetadataInterfacegetDeletePlan in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public boolean modelSupports(java.lang.Object modelID,
int modelConstant)
throws MetaMatrixComponentException,
QueryMetadataException
modelSupports in interface QueryMetadataInterfacemodelSupports in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public boolean groupSupports(java.lang.Object groupID,
int groupConstant)
throws MetaMatrixComponentException,
QueryMetadataException
groupSupports in interface QueryMetadataInterfacegroupSupports in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public boolean elementSupports(java.lang.Object elementID,
int elementConstant)
throws MetaMatrixComponentException,
QueryMetadataException
elementSupports in interface QueryMetadataInterfaceelementSupports in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public int getMaxSetSize(java.lang.Object modelID)
throws MetaMatrixComponentException,
QueryMetadataException
getMaxSetSize in interface QueryMetadataInterfacegetMaxSetSize in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.util.Collection getIndexesInGroup(java.lang.Object groupID)
throws MetaMatrixComponentException,
QueryMetadataException
getIndexesInGroup in interface QueryMetadataInterfacegetIndexesInGroup in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.util.Collection getUniqueKeysInGroup(java.lang.Object groupID)
throws MetaMatrixComponentException,
QueryMetadataException
getUniqueKeysInGroup in interface QueryMetadataInterfacegetUniqueKeysInGroup in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.util.Collection getForeignKeysInGroup(java.lang.Object groupID)
throws MetaMatrixComponentException,
QueryMetadataException
getForeignKeysInGroup in interface QueryMetadataInterfacegetForeignKeysInGroup in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.lang.Object getPrimaryKeyIDForForeignKeyID(java.lang.Object foreignKeyID)
throws MetaMatrixComponentException,
QueryMetadataException
getPrimaryKeyIDForForeignKeyID in interface QueryMetadataInterfacegetPrimaryKeyIDForForeignKeyID in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.util.Collection getAccessPatternsInGroup(java.lang.Object groupID)
throws MetaMatrixComponentException,
QueryMetadataException
getAccessPatternsInGroup in interface QueryMetadataInterfacegetAccessPatternsInGroup in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.util.List getElementIDsInIndex(java.lang.Object index)
throws MetaMatrixComponentException,
QueryMetadataException
getElementIDsInIndex in interface QueryMetadataInterfacegetElementIDsInIndex in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.util.List getElementIDsInKey(java.lang.Object key)
throws MetaMatrixComponentException,
QueryMetadataException
getElementIDsInKey in interface QueryMetadataInterfacegetElementIDsInKey in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.util.List getElementIDsInAccessPattern(java.lang.Object accessPattern)
throws MetaMatrixComponentException,
QueryMetadataException
getElementIDsInAccessPattern in interface QueryMetadataInterfacegetElementIDsInAccessPattern in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public boolean isXMLGroup(java.lang.Object groupID)
throws MetaMatrixComponentException,
QueryMetadataException
isXMLGroup in interface QueryMetadataInterfaceisXMLGroup in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public boolean isTemporaryGroup(java.lang.Object groupID)
throws MetaMatrixComponentException,
QueryMetadataException
MetaMatrixComponentException
QueryMetadataException
public boolean hasMaterialization(java.lang.Object groupID)
throws MetaMatrixComponentException,
QueryMetadataException
hasMaterialization in interface QueryMetadataInterfacehasMaterialization in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataExceptionQueryMetadataInterface.hasMaterialization(java.lang.Object)
public java.lang.Object getMaterialization(java.lang.Object groupID)
throws MetaMatrixComponentException,
QueryMetadataException
getMaterialization in interface QueryMetadataInterfacegetMaterialization in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataExceptionQueryMetadataInterface.getMaterialization(java.lang.Object)
public java.lang.Object getMaterializationStage(java.lang.Object groupID)
throws MetaMatrixComponentException,
QueryMetadataException
getMaterializationStage in interface QueryMetadataInterfacegetMaterializationStage in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataExceptionQueryMetadataInterface.getMaterializationStage(java.lang.Object)
public MappingNode getMappingNode(java.lang.Object groupID)
throws MetaMatrixComponentException,
QueryMetadataException
getMappingNode in interface QueryMetadataInterfacegetMappingNode in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.lang.String getVirtualDatabaseName()
throws MetaMatrixComponentException,
QueryMetadataException
getVirtualDatabaseName in interface QueryMetadataInterfacegetVirtualDatabaseName in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.util.Collection getXMLTempGroups(java.lang.Object groupID)
throws MetaMatrixComponentException,
QueryMetadataException
getXMLTempGroups in interface QueryMetadataInterfacegetXMLTempGroups in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public int getCardinality(java.lang.Object groupID)
throws MetaMatrixComponentException,
QueryMetadataException
getCardinality in interface QueryMetadataInterfacegetCardinality in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.util.List getXMLSchemas(java.lang.Object groupID)
throws MetaMatrixComponentException,
QueryMetadataException
getXMLSchemas in interface QueryMetadataInterfacegetXMLSchemas in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.lang.String getNameInSource(java.lang.Object metadataID)
throws MetaMatrixComponentException,
QueryMetadataException
getNameInSource in interface QueryMetadataInterfacegetNameInSource in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public int getElementLength(java.lang.Object elementID)
throws MetaMatrixComponentException,
QueryMetadataException
getElementLength in interface QueryMetadataInterfacegetElementLength in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public int getPosition(java.lang.Object elementID)
throws MetaMatrixComponentException,
QueryMetadataException
getPosition in interface QueryMetadataInterfacegetPosition in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public int getPrecision(java.lang.Object elementID)
throws MetaMatrixComponentException,
QueryMetadataException
getPrecision in interface QueryMetadataInterfacegetPrecision in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public int getRadix(java.lang.Object elementID)
throws MetaMatrixComponentException,
QueryMetadataException
getRadix in interface QueryMetadataInterfacegetRadix in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.lang.String getFormat(java.lang.Object elementID)
throws MetaMatrixComponentException,
QueryMetadataException
getFormat in interface QueryMetadataInterfacegetFormat in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public int getScale(java.lang.Object elementID)
throws MetaMatrixComponentException,
QueryMetadataException
getScale in interface QueryMetadataInterfacegetScale in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public int getDistinctValues(java.lang.Object elementID)
throws MetaMatrixComponentException,
QueryMetadataException
getDistinctValues in interface QueryMetadataInterfacegetDistinctValues in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public int getNullValues(java.lang.Object elementID)
throws MetaMatrixComponentException,
QueryMetadataException
getNullValues in interface QueryMetadataInterfacegetNullValues in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.lang.String getNativeType(java.lang.Object elementID)
throws MetaMatrixComponentException,
QueryMetadataException
getNativeType in interface QueryMetadataInterfacegetNativeType in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public java.util.Properties getExtensionProperties(java.lang.Object metadataID)
throws MetaMatrixComponentException,
QueryMetadataException
getExtensionProperties in interface QueryMetadataInterfacegetExtensionProperties in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataException
public byte[] getBinaryVDBResource(java.lang.String resourcePath)
throws MetaMatrixComponentException,
QueryMetadataException
getBinaryVDBResource in interface QueryMetadataInterfacegetBinaryVDBResource in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataExceptionBasicQueryMetadata.getBinaryVDBResource(java.lang.String)
public java.lang.String getCharacterVDBResource(java.lang.String resourcePath)
throws MetaMatrixComponentException,
QueryMetadataException
getCharacterVDBResource in interface QueryMetadataInterfacegetCharacterVDBResource in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataExceptionBasicQueryMetadata.getCharacterVDBResource(java.lang.String)
public java.lang.String[] getVDBResourcePaths()
throws MetaMatrixComponentException,
QueryMetadataException
getVDBResourcePaths in interface QueryMetadataInterfacegetVDBResourcePaths in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataExceptionBasicQueryMetadata.getVDBResourcePaths()
public java.lang.String getModeledType(java.lang.Object elementID)
throws MetaMatrixComponentException,
QueryMetadataException
getModeledType in interface QueryMetadataInterfacegetModeledType in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataExceptionQueryMetadataInterface.getModeledType(java.lang.Object)
public java.lang.String getModeledBaseType(java.lang.Object elementID)
throws MetaMatrixComponentException,
QueryMetadataException
getModeledBaseType in interface QueryMetadataInterfacegetModeledBaseType in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataExceptionQueryMetadataInterface.getModeledBaseType(java.lang.Object)
public java.lang.String getModeledPrimitiveType(java.lang.Object elementID)
throws MetaMatrixComponentException,
QueryMetadataException
getModeledPrimitiveType in interface QueryMetadataInterfacegetModeledPrimitiveType in class BasicQueryMetadataMetaMatrixComponentException
QueryMetadataExceptionQueryMetadataInterface.getModeledPrimitiveType(java.lang.Object)
protected DatatypeRecord getDatatypeRecord(java.lang.Object elementID)
throws MetaMatrixComponentException,
QueryMetadataException
MetaMatrixComponentException
QueryMetadataException
protected com.metamatrix.internal.core.index.Index[] getIndexes(char recordType,
IndexSelector selector)
throws MetaMatrixComponentException
selector -
QueryMetadataException
MetaMatrixComponentExceptionprotected java.lang.String getDatatypeUUIDMatchPattern(java.lang.String uuid)
uuid - The UUID for which the pattern match string is to be constructed.
protected java.lang.String getUUIDMatchPattern(char recordType,
java.lang.String uuid)
uuid - The UUID for which the pattern match string is to be constructed.
protected java.lang.String getMatchPattern(char recordType,
java.lang.String name)
name - The partially/fully qualified name for which
the pattern match string is to be constructed.
protected java.lang.String getPrefixPattern(char recordType,
java.lang.String name)
name - The fully qualified name for which the prefix match
string is to be constructed.
protected java.lang.String getUUIDPrefixPattern(char recordType,
java.lang.String uuid)
uuid - The uuid for which the prefix match string is to be constructed.
protected java.lang.String getParentPrefixPattern(char recordType,
java.lang.String name)
name - The fully qualified name for which the prefix match
string is to be constructed.
protected MetadataRecord getRecordByType(java.lang.String entityName,
char recordType)
throws MetaMatrixComponentException,
QueryMetadataException
entityName - String representing an entity, may be null(vdbs)recordType - The record type for the entity
MetaMatrixComponentException
QueryMetadataException
protected void filterMetadataRecordForUUID(java.lang.String uuid,
java.util.Collection records)
uuid - records - protected IndexSelector getIndexSelector()
protected QueryMetadataContext getContext()
protected java.util.Collection findChildRecords(MetadataRecord parentRecord,
char childRecordType)
throws MetaMatrixComponentException
parentRecord - childRecordType - the type of the child to seek uuidsuuids - to filter just the objects we want
MetaMatrixComponentException
protected java.util.Collection findChildRecordsForColumns(MetadataRecord parentRecord,
char childRecordType,
java.util.List uuids)
throws MetaMatrixComponentException
parentRecord - childRecordType - the type of the child to seek uuidsuuids - to filter just the objects we want
MetaMatrixComponentException
protected java.util.Collection findChildRecordsWithoutFiltering(MetadataRecord parentRecord,
char childRecordType)
throws MetaMatrixComponentException
parentRecord - childRecordType - the type of the child to seek
MetaMatrixComponentExceptionprotected java.util.Collection findMetadataRecords(IEntryResult[] results)
indexName - entityName - the name to matchisPartialName - true if the entity name is a partially qualified
QueryMetadataExceptionprotected MetadataRecord findMetadataRecord(IEntryResult result)
protected java.util.Collection findMetadataRecords(char recordType,
java.lang.String entityName,
boolean isPartialName)
throws MetaMatrixComponentException
indexName - entityName - the name to matchisPartialName - true if the entity name is a partially qualified
QueryMetadataException
MetaMatrixComponentException
protected IEntryResult[] queryIndex(char recordType,
java.lang.String entityName,
boolean isPartialName)
throws MetaMatrixComponentException
indexName - entityName - the name to matchisPartialName - true if the entity name is a partially qualified
QueryMetadataException
MetaMatrixComponentException
protected IEntryResult[] queryIndex(com.metamatrix.internal.core.index.Index[] indexes,
char[] pattern,
boolean isPrefix,
boolean returnFirstMatch)
throws MetaMatrixComponentException
indexes - the array of MtkIndex instances to querypattern -
QueryMetadataException
MetaMatrixComponentException
protected IEntryResult[] queryIndex(com.metamatrix.internal.core.index.Index[] indexes,
char[] pattern,
boolean isPrefix,
boolean isCaseSensitive,
boolean returnFirstMatch)
throws MetaMatrixComponentException
indexes - the array of MtkIndex instances to querypattern -
QueryMetadataException
MetaMatrixComponentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||