|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.dqp.message.AtomicRequestMessage
public class AtomicRequestMessage
This class defines a request message for the Connector layer. This is uniquely identified by AtomicRequestID.
Constructor Summary | |
---|---|
AtomicRequestMessage()
|
|
AtomicRequestMessage(RequestMessage requestMessage,
org.teiid.dqp.internal.process.DQPWorkContext parent,
int nodeId)
|
Method Summary | |
---|---|
AtomicRequestID |
getAtomicRequestID()
|
Command |
getCommand()
|
java.lang.String |
getConnectorBindingID()
|
com.metamatrix.dqp.internal.datamgr.ConnectorID |
getConnectorID()
|
java.io.Serializable |
getExecutionPayload()
|
int |
getFetchSize()
|
java.lang.String |
getModelName()
|
java.util.Date |
getProcessingTimestamp()
Get time that the request was assigned a unique ID by the server. |
RequestID |
getRequestID()
|
java.util.Date |
getSubmittedTimestamp()
Get time that the time when the command was created by the client. |
TransactionContext |
getTransactionContext()
|
org.teiid.dqp.internal.process.DQPWorkContext |
getWorkContext()
|
boolean |
isTransactional()
|
void |
markProcessingStart()
Start the clock on processing times - this should be called when the query hits the QueryService or SubscriptionService. |
void |
markSubmissionStart()
Start the clock on submission start - this should be called when the request is originally created. |
void |
setCommand(Command command)
|
void |
setConnectorBindingID(java.lang.String string)
|
void |
setConnectorID(com.metamatrix.dqp.internal.datamgr.ConnectorID connectorID)
|
void |
setExecutionPayload(java.io.Serializable executionPayload)
|
void |
setFetchSize(int fetchSize)
|
void |
setModelName(java.lang.String modelName)
|
void |
setPartialResults(boolean partial)
|
void |
setProcessingTimestamp(java.util.Date processingTimestamp)
Set time that the request is submitted on the server. |
void |
setRequestID(RequestID requestID)
|
void |
setSubmittedTimestamp(java.util.Date submittedTimestamp)
Set time that the time when the command was created by the client. |
void |
setTransactionContext(TransactionContext context)
|
void |
setUseResultSetCache(boolean useResultSetCacse)
|
void |
setWorkContext(org.teiid.dqp.internal.process.DQPWorkContext workContext)
|
boolean |
supportsPartialResults()
|
java.lang.String |
toString()
|
boolean |
useResultSetCache()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AtomicRequestMessage()
public AtomicRequestMessage(RequestMessage requestMessage, org.teiid.dqp.internal.process.DQPWorkContext parent, int nodeId)
Method Detail |
---|
public AtomicRequestID getAtomicRequestID()
public java.lang.String getConnectorBindingID()
public com.metamatrix.dqp.internal.datamgr.ConnectorID getConnectorID()
public void setConnectorID(com.metamatrix.dqp.internal.datamgr.ConnectorID connectorID)
public void setConnectorBindingID(java.lang.String string)
public java.lang.String getModelName()
public void setModelName(java.lang.String modelName)
public TransactionContext getTransactionContext()
public void setTransactionContext(TransactionContext context)
public boolean isTransactional()
public Command getCommand()
public void setCommand(Command command)
public int getFetchSize()
public void setFetchSize(int fetchSize)
public java.util.Date getSubmittedTimestamp()
public void setSubmittedTimestamp(java.util.Date submittedTimestamp)
submittedTimestamp
- Time submitted to server.public void markSubmissionStart()
public java.util.Date getProcessingTimestamp()
public void setProcessingTimestamp(java.util.Date processingTimestamp)
processingTimestamp
- Time submitted to server.public void markProcessingStart()
public boolean useResultSetCache()
public void setUseResultSetCache(boolean useResultSetCacse)
public boolean supportsPartialResults()
public void setPartialResults(boolean partial)
public java.lang.String toString()
toString
in class java.lang.Object
public void setExecutionPayload(java.io.Serializable executionPayload)
public java.io.Serializable getExecutionPayload()
public void setRequestID(RequestID requestID)
public RequestID getRequestID()
public void setWorkContext(org.teiid.dqp.internal.process.DQPWorkContext workContext)
public org.teiid.dqp.internal.process.DQPWorkContext getWorkContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |