com.metamatrix.query.metadata
Interface MetadataStore

All Known Implementing Classes:
CompositeMetadataStore, ConnectorMetadataStore, IndexMetadataStore

public interface MetadataStore


Method Summary
 ColumnRecordImpl findElement(java.lang.String fullName)
          Deprecated. used only by xml and uuid resolving
 TableRecordImpl findGroup(java.lang.String fullName)
           
 java.util.Collection<? extends AbstractMetadataRecord> findMetadataRecords(char recordType, java.lang.String entityName, boolean isPartialName)
          Deprecated. used only for xml
 java.util.Collection<? extends AbstractMetadataRecord> findMetadataRecords(java.lang.String indexName, java.lang.String pattern, boolean isPrefix, boolean isCaseSensitive)
          Search method used by the index connector
 java.util.Collection<PropertyRecordImpl> getExtensionProperties(AbstractMetadataRecord record)
           
 java.util.Collection<java.lang.String> getGroupsForPartialName(java.lang.String partialGroupName)
          Returns the fully qualified names of groups matching the given partial name.
 ModelRecordImpl getModel(java.lang.String fullName)
           
 java.util.Collection<java.lang.String> getModelNames()
          Get the set of model names known to this store.
 ProcedureRecordImpl getStoredProcedure(java.lang.String fullyQualifiedProcedureName)
           
 java.util.Collection getXMLTempGroups(TableRecordImpl table)
          Deprecated. used only for xml
 boolean postProcessFindMetadataRecords()
           
 

Method Detail

getModel

ModelRecordImpl getModel(java.lang.String fullName)
                         throws QueryMetadataException,
                                MetaMatrixComponentException
Throws:
QueryMetadataException
MetaMatrixComponentException

findGroup

TableRecordImpl findGroup(java.lang.String fullName)
                          throws QueryMetadataException,
                                 MetaMatrixComponentException
Throws:
QueryMetadataException
MetaMatrixComponentException

getGroupsForPartialName

java.util.Collection<java.lang.String> getGroupsForPartialName(java.lang.String partialGroupName)
                                                               throws MetaMatrixComponentException,
                                                                      QueryMetadataException
Returns the fully qualified names of groups matching the given partial name.

Parameters:
partialGroupName - expected to be in lowercase
Returns:
Throws:
MetaMatrixComponentException
QueryMetadataException

getStoredProcedure

ProcedureRecordImpl getStoredProcedure(java.lang.String fullyQualifiedProcedureName)
                                       throws MetaMatrixComponentException,
                                              QueryMetadataException
Throws:
MetaMatrixComponentException
QueryMetadataException

getExtensionProperties

java.util.Collection<PropertyRecordImpl> getExtensionProperties(AbstractMetadataRecord record)
                                                                throws MetaMatrixComponentException
Throws:
MetaMatrixComponentException

getModelNames

java.util.Collection<java.lang.String> getModelNames()
Get the set of model names known to this store.


findMetadataRecords

java.util.Collection<? extends AbstractMetadataRecord> findMetadataRecords(java.lang.String indexName,
                                                                           java.lang.String pattern,
                                                                           boolean isPrefix,
                                                                           boolean isCaseSensitive)
                                                                           throws MetaMatrixCoreException
Search method used by the index connector

Parameters:
indexName -
patterns -
isPrefix -
isCaseSensitive -
Returns:
Throws:
MetaMatrixCoreException

postProcessFindMetadataRecords

boolean postProcessFindMetadataRecords()

getXMLTempGroups

java.util.Collection getXMLTempGroups(TableRecordImpl table)
                                      throws MetaMatrixComponentException
Deprecated. used only for xml

Parameters:
table -
Returns:
Throws:
MetaMatrixComponentException

findMetadataRecords

java.util.Collection<? extends AbstractMetadataRecord> findMetadataRecords(char recordType,
                                                                           java.lang.String entityName,
                                                                           boolean isPartialName)
                                                                           throws MetaMatrixComponentException
Deprecated. used only for xml

Parameters:
table -
Returns:
Throws:
MetaMatrixComponentException

findElement

ColumnRecordImpl findElement(java.lang.String fullName)
                             throws QueryMetadataException,
                                    MetaMatrixComponentException
Deprecated. used only by xml and uuid resolving

Parameters:
fullName -
Returns:
Throws:
QueryMetadataException
MetaMatrixComponentException


Copyright © 2009. All Rights Reserved.