|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.teiid.client.RequestMessage
public class RequestMessage
Request Message, used by MMXStatement for submitting queries.
| Nested Class Summary | |
|---|---|
static class |
RequestMessage.ResultsMode
|
static class |
RequestMessage.ShowPlan
|
static class |
RequestMessage.StatementType
|
| Field Summary | |
|---|---|
static int |
DEFAULT_FETCH_SIZE
|
static java.lang.String |
TXN_WRAP_DETECT
Transaction auto wrap constant - checks if a command requires a transaction and will be automatically wrap it. |
static java.lang.String |
TXN_WRAP_OFF
Transaction auto wrap constant - never wrap a command execution in a transaction |
static java.lang.String |
TXN_WRAP_ON
Transaction auto wrap constant - always wrap commands in a transaction. |
| 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()
|
RequestMessage.ResultsMode |
getResultsMode()
|
int |
getRowLimit()
|
RequestMessage.ShowPlan |
getShowPlan()
|
java.lang.String |
getStyleSheet()
|
int |
getTransactionIsolation()
|
java.lang.String |
getTxnAutoWrapMode()
|
boolean |
getValidationMode()
|
java.lang.String |
getXMLFormat()
|
boolean |
isAnsiQuotedIdentifiers()
|
boolean |
isBatchedUpdate()
|
boolean |
isCallableStatement()
|
boolean |
isNoExec()
|
boolean |
isPreparedStatement()
|
void |
readExternal(java.io.ObjectInput in)
|
void |
setAnsiQuotedIdentifiers(boolean ansiQuotedIdentifiers)
|
void |
setBatchedUpdate(boolean isBatchedUpdate)
|
void |
setCommands(java.lang.String... batchedCommands)
|
void |
setCursorType(int cursorType)
Sets the cursorType. |
void |
setExecutionId(long executionId)
|
void |
setExecutionPayload(java.io.Serializable executionPayload)
|
void |
setFetchSize(int fetchSize)
|
void |
setNoExec(boolean noExec)
|
void |
setParameterValues(java.util.List<?> values)
|
void |
setPartialResults(boolean partial)
|
void |
setResultsMode(RequestMessage.ResultsMode resultsMode)
|
void |
setRowLimit(int rowLimit)
|
void |
setShowPlan(RequestMessage.ShowPlan showPlan)
|
void |
setStatementType(RequestMessage.StatementType statementType)
|
void |
setStyleSheet(java.lang.String styleSheet)
Sets the styleSheet. |
void |
setTransactionIsolation(int transactionIsolation)
|
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()
|
void |
writeExternal(java.io.ObjectOutput out)
|
| 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
public static final java.lang.String TXN_WRAP_OFF
public static final java.lang.String TXN_WRAP_ON
public static final java.lang.String TXN_WRAP_DETECT
| 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 setStatementType(RequestMessage.StatementType statementType)
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 TeiidProcessingException
txnAutoWrapMode - The txnAutoWrapMode to set
TeiidProcessingExceptionpublic java.lang.String getStyleSheet()
public void setStyleSheet(java.lang.String styleSheet)
styleSheet - The styleSheet to setpublic boolean useResultSetCache()
public void setUseResultSetCache(boolean useResultSetCacse)
public java.lang.String getCommandString()
public boolean isAnsiQuotedIdentifiers()
public void setAnsiQuotedIdentifiers(boolean ansiQuotedIdentifiers)
public RequestMessage.ShowPlan getShowPlan()
public void setShowPlan(RequestMessage.ShowPlan showPlan)
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 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 RequestMessage.ResultsMode getResultsMode()
public void setResultsMode(RequestMessage.ResultsMode resultsMode)
public int getTransactionIsolation()
public void setTransactionIsolation(int transactionIsolation)
public boolean isNoExec()
public void setNoExec(boolean noExec)
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||