com.metamatrix.connector.metadata
Class IndexConnector

java.lang.Object
  extended by org.teiid.connector.basic.BasicConnector
      extended by com.metamatrix.connector.metadata.adapter.ObjectConnector
          extended by com.metamatrix.connector.metadata.IndexConnector
All Implemented Interfaces:
Connector

public class IndexConnector
extends ObjectConnector

Connector whose source is metadata index files stored in vdbs aviailable to the user logged in.


Constructor Summary
IndexConnector()
           
 
Method Summary
protected  com.metamatrix.connector.metadata.internal.IObjectSource getMetadataObjectSource(ExecutionContext context)
          When a Metadata query is being executed, this method will be called to obtain the object source.
 
Methods inherited from class com.metamatrix.connector.metadata.adapter.ObjectConnector
getCapabilities, getConnection, getEnvironment, start, stop
 
Methods inherited from class org.teiid.connector.basic.BasicConnector
areAdminConnectionsAllowed, createIdentity, getConnectorName, setAdminConnectionsAllowed, setConnectorName, setUseCredentialMap, useCredentialMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexConnector

public IndexConnector()
Method Detail

getMetadataObjectSource

protected com.metamatrix.connector.metadata.internal.IObjectSource getMetadataObjectSource(ExecutionContext context)
                                                                                    throws ConnectorException
Description copied from class: ObjectConnector
When a Metadata query is being executed, this method will be called to obtain the object source. It is delayed until it is known if its a SystemAdmin query or a Metadata query.

Specified by:
getMetadataObjectSource in class ObjectConnector
Returns:
Throws:
ConnectorException
See Also:
com.metamatrix.connector.metadata.adapter.ObjectConnector#getObjectSource(org.teiid.connector.api.ConnectorEnvironment, org.teiid.connector.api.ExecutionContext)


Copyright © 2009. All Rights Reserved.