com.metamatrix.connector.metadata.adapter
Class ObjectConnection
java.lang.Object
org.teiid.connector.basic.BasicConnection
com.metamatrix.connector.metadata.adapter.ObjectConnection
- All Implemented Interfaces:
- Connection
public class ObjectConnection
- extends BasicConnection
Adapter to make object processing code comply with the standard connector API.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectConnection
public ObjectConnection(ConnectorEnvironment environment,
ExecutionContext context,
ObjectConnector connector)
createResultSetExecution
public ResultSetExecution createResultSetExecution(IQueryCommand command,
ExecutionContext executionContext,
RuntimeMetadata metadata)
throws ConnectorException
- Overrides:
createResultSetExecution
in class BasicConnection
- Throws:
ConnectorException
createProcedureExecution
public ProcedureExecution createProcedureExecution(IProcedure command,
ExecutionContext executionContext,
RuntimeMetadata metadata)
throws ConnectorException
- Overrides:
createProcedureExecution
in class BasicConnection
- Throws:
ConnectorException
getMetadataObjectSource
protected com.metamatrix.connector.metadata.internal.IObjectSource getMetadataObjectSource()
throws ConnectorException
- Throws:
ConnectorException
close
public void close()
- Description copied from interface:
Connection
- Release the connection. This will be called when MetaMatrix has completed
using the connection for an execution.
Copyright © 2009. All Rights Reserved.