|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.dqp.message.RequestMessage
public class RequestMessage
Request Message, used by MMXStatement for submitting queries.
Field Summary | |
---|---|
static int |
DEFAULT_FETCH_SIZE
|
Constructor Summary | |
---|---|
RequestMessage()
|
|
RequestMessage(java.lang.String command)
|
Method Summary | |
---|---|
java.lang.String[] |
getCommands()
|
java.lang.String |
getCommandString()
|
int |
getCursorType()
|
long |
getExecutionId()
|
java.io.Serializable |
getExecutionPayload()
|
int |
getFetchSize()
|
java.util.List |
getParameterValues()
|
java.util.Date |
getProcessingTimestamp()
Get time that the request was assigned a unique ID by the server. |
java.lang.Boolean |
getRequireResultSet()
|
int |
getRowLimit()
|
boolean |
getShowPlan()
|
java.lang.String |
getStyleSheet()
|
java.util.Date |
getSubmittedTimestamp()
Get time that the time when the command was created by the client. |
java.lang.String |
getTxnAutoWrapMode()
|
boolean |
getValidationMode()
|
java.lang.String |
getXMLFormat()
|
boolean |
isBatchedUpdate()
|
boolean |
isCallableStatement()
|
boolean |
isDoubleQuotedVariableAllowed()
|
boolean |
isPreparedBatchUpdate()
|
boolean |
isPreparedStatement()
|
boolean |
isQueryPlanAllowed()
|
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 |
setBatchedUpdate(boolean isBatchedUpdate)
|
void |
setCallableStatement(boolean isCallableStatement)
|
void |
setCommands(java.lang.String... batchedCommands)
|
void |
setCursorType(int cursorType)
Sets the cursorType. |
void |
setDoubleQuotedVariableAllowed(boolean allowed)
|
void |
setExecutionId(long executionId)
|
void |
setExecutionPayload(java.io.Serializable executionPayload)
|
void |
setFetchSize(int fetchSize)
|
void |
setParameterValues(java.util.List values)
|
void |
setPartialResults(boolean partial)
|
void |
setPreparedBatchUpdate(boolean isPreparedBatchUpdate)
|
void |
setPreparedStatement(boolean isPreparedStatement)
|
void |
setProcessingTimestamp(java.util.Date processingTimestamp)
Set time that the request is submitted on the server. |
void |
setQueryPlanAllowed(boolean allowed)
|
void |
setRequireResultSet(java.lang.Boolean requireResultSet)
|
void |
setRowLimit(int rowLimit)
|
void |
setShowPlan(boolean showPlan)
|
void |
setStyleSheet(java.lang.String styleSheet)
Sets the styleSheet. |
void |
setSubmittedTimestamp(java.util.Date submittedTimestamp)
Set time that the time when the command was created by the client. |
void |
setTxnAutoWrapMode(java.lang.String txnAutoWrapMode)
Sets the txnAutoWrapMode. |
void |
setUseResultSetCache(boolean useResultSetCacse)
|
void |
setValidationMode(boolean validationMode)
Sets the validationMode. |
void |
setXMLFormat(java.lang.String xMLFormat)
Sets the xMLFormat. |
boolean |
supportsPartialResults()
|
boolean |
useResultSetCache()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_FETCH_SIZE
Constructor Detail |
---|
public RequestMessage()
public RequestMessage(java.lang.String command)
Method Detail |
---|
public int getFetchSize()
public boolean supportsPartialResults()
public void setFetchSize(int fetchSize)
i
- public void setPartialResults(boolean partial)
partial
- public boolean isPreparedStatement()
public boolean isCallableStatement()
public void setPreparedStatement(boolean isPreparedStatement)
isPreparedStatement
- public void setCallableStatement(boolean isCallableStatement)
isCallableStatement
- public java.util.List getParameterValues()
public void setParameterValues(java.util.List values)
values
- public int getCursorType()
public void setCursorType(int cursorType)
cursorType
- The cursorType to setpublic boolean getValidationMode()
public java.lang.String getXMLFormat()
public void setValidationMode(boolean validationMode)
validationMode
- The validationMode to setpublic void setXMLFormat(java.lang.String xMLFormat)
xMLFormat
- The xMLFormat to setpublic java.lang.String getTxnAutoWrapMode()
public void setTxnAutoWrapMode(java.lang.String txnAutoWrapMode) throws MetaMatrixProcessingException
txnAutoWrapMode
- The txnAutoWrapMode to set
MetaMatrixProcessingException
public java.lang.String getStyleSheet()
public void setStyleSheet(java.lang.String styleSheet)
styleSheet
- The styleSheet to setpublic 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 java.lang.String getCommandString()
public void setDoubleQuotedVariableAllowed(boolean allowed)
public boolean isDoubleQuotedVariableAllowed()
public void setQueryPlanAllowed(boolean allowed)
public boolean isQueryPlanAllowed()
public boolean getShowPlan()
public void setShowPlan(boolean showPlan)
showPlan
- The showPlan to set.public int getRowLimit()
public void setRowLimit(int rowLimit)
rowLimit
- The rowLimit to set.public java.lang.String[] getCommands()
public void setCommands(java.lang.String... batchedCommands)
public boolean isPreparedBatchUpdate()
public void setPreparedBatchUpdate(boolean isPreparedBatchUpdate)
public void setExecutionPayload(java.io.Serializable executionPayload)
public java.io.Serializable getExecutionPayload()
public long getExecutionId()
public void setExecutionId(long executionId)
public void setBatchedUpdate(boolean isBatchedUpdate)
public boolean isBatchedUpdate()
public java.lang.Boolean getRequireResultSet()
public void setRequireResultSet(java.lang.Boolean requireResultSet)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |