Package org.teiid.dqp.internal.datamgr
Class ConnectorManager
- java.lang.Object
-
- org.teiid.dqp.internal.datamgr.ConnectorManager
-
public class ConnectorManager extends Object
TheConnectorManager
manages anExecutionFactory
and its associated workers' state.
-
-
Constructor Summary
Constructors Constructor Description ConnectorManager(String translatorName, String connectionName)
ConnectorManager(String translatorName, String connectionName, ExecutionFactory<Object,Object> ef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourceCapabilities
getCapabilities()
Object
getConnectionFactory()
Get the ConnectionFactory object required by this managerString
getConnectionName()
ExecutionFactory<Object,Object>
getExecutionFactory()
Get theTranslator
object managed by this manager.List<String>
getId()
List<FunctionMethod>
getPushDownFunctions()
String
getStausMessage()
String
getTranslatorName()
ConnectorWork
registerRequest(AtomicRequestMessage message)
void
start()
initialize thisConnectorManager
.void
stop()
Stop this connector.
-
-
-
Method Detail
-
getStausMessage
public String getStausMessage()
-
getPushDownFunctions
public List<FunctionMethod> getPushDownFunctions()
-
getCapabilities
public SourceCapabilities getCapabilities() throws TranslatorException, TeiidComponentException
-
registerRequest
public ConnectorWork registerRequest(AtomicRequestMessage message) throws TeiidComponentException, TranslatorException
-
start
public void start()
initialize thisConnectorManager
.
-
stop
public void stop()
Stop this connector.
-
getExecutionFactory
public ExecutionFactory<Object,Object> getExecutionFactory()
Get theTranslator
object managed by this manager.- Returns:
- the
ExecutionFactory
.
-
getConnectionFactory
public Object getConnectionFactory() throws TranslatorException
Get the ConnectionFactory object required by this manager- Returns:
- Throws:
TranslatorException
-
getTranslatorName
public String getTranslatorName()
-
getConnectionName
public String getConnectionName()
-
-