com.metamatrix.dqp.client.impl
Class ServerRequest

java.lang.Object
  extended by com.metamatrix.dqp.client.impl.ServerRequest

public class ServerRequest
extends java.lang.Object

Since:
4.2

Field Summary
static int AUTOWRAP_OFF
           
static int AUTOWRAP_ON
           
static int AUTOWRAP_OPTIMISTIC
           
static int AUTOWRAP_PESSIMISTIC
           
static int REQUEST_TYPE_CALLABLE_STATEMENT
           
static int REQUEST_TYPE_PREPARED_STATEMENT
           
static int REQUEST_TYPE_STATEMENT
           
 
Constructor Summary
ServerRequest()
           
 
Method Summary
 java.lang.Object[] getBindParameters()
           
 int getCursorType()
           
 int getFetchSize()
           
 boolean getPartialResults()
           
 int getRequestType()
           
 java.lang.String getSql()
           
 int getTransactionAutoWrapMode()
           
 boolean getUseResultSetCache()
           
 java.lang.String getXMLFormat()
           
 java.lang.String getXMLStyleSheet()
           
 boolean getXMLValidationMode()
           
 void setBindParameters(java.lang.Object[] params)
           
 void setCommandPayload(java.io.Serializable payload)
           
 void setCursorType(int type)
           
 void setFetchSize(int size)
           
 void setPartialResults(boolean flag)
           
 void setRequestType(int type)
           
 void setSql(java.lang.String sql)
           
 void setTransactionAutoWrapMode(int autoWrapMode)
           
 void setUseResultSetCache(boolean flag)
           
 void setXMLFormat(java.lang.String format)
           
 void setXMLStyleSheet(java.lang.String styleSheet)
           
 void setXMLValidationMode(boolean flag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REQUEST_TYPE_STATEMENT

public static final int REQUEST_TYPE_STATEMENT
See Also:
Constant Field Values

REQUEST_TYPE_PREPARED_STATEMENT

public static final int REQUEST_TYPE_PREPARED_STATEMENT
See Also:
Constant Field Values

REQUEST_TYPE_CALLABLE_STATEMENT

public static final int REQUEST_TYPE_CALLABLE_STATEMENT
See Also:
Constant Field Values

AUTOWRAP_OFF

public static final int AUTOWRAP_OFF
See Also:
Constant Field Values

AUTOWRAP_ON

public static final int AUTOWRAP_ON
See Also:
Constant Field Values

AUTOWRAP_OPTIMISTIC

public static final int AUTOWRAP_OPTIMISTIC
See Also:
Constant Field Values

AUTOWRAP_PESSIMISTIC

public static final int AUTOWRAP_PESSIMISTIC
See Also:
Constant Field Values
Constructor Detail

ServerRequest

public ServerRequest()
Method Detail

getSql

public java.lang.String getSql()

setSql

public void setSql(java.lang.String sql)
Since:
4.2
See Also:
com.metamatrix.dqp.client.RequestInfo#setSql(java.lang.String)

getRequestType

public int getRequestType()

setRequestType

public void setRequestType(int type)
Since:
4.2
See Also:
com.metamatrix.dqp.client.RequestInfo#setRequestType(int)

getBindParameters

public java.lang.Object[] getBindParameters()

setBindParameters

public void setBindParameters(java.lang.Object[] params)
Since:
4.2
See Also:
com.metamatrix.dqp.client.RequestInfo#setBindParameters(java.lang.Object[])

getCursorType

public int getCursorType()

setCursorType

public void setCursorType(int type)
Since:
4.2
See Also:
com.metamatrix.dqp.client.RequestInfo#setCursorType(int)

getFetchSize

public int getFetchSize()

setFetchSize

public void setFetchSize(int size)
Since:
4.2
See Also:
com.metamatrix.dqp.client.RequestInfo#setFetchSize(int)

getPartialResults

public boolean getPartialResults()

setPartialResults

public void setPartialResults(boolean flag)
Since:
4.2
See Also:
com.metamatrix.dqp.client.RequestInfo#setPartialResults(boolean)

getXMLValidationMode

public boolean getXMLValidationMode()

setXMLValidationMode

public void setXMLValidationMode(boolean flag)
Since:
4.2
See Also:
com.metamatrix.dqp.client.RequestInfo#setXMLValidationMode(boolean)

getXMLFormat

public java.lang.String getXMLFormat()

setXMLFormat

public void setXMLFormat(java.lang.String format)
Since:
4.2
See Also:
com.metamatrix.dqp.client.RequestInfo#setXMLFormat(java.lang.String)

getXMLStyleSheet

public java.lang.String getXMLStyleSheet()

setXMLStyleSheet

public void setXMLStyleSheet(java.lang.String styleSheet)
Since:
4.2
See Also:
com.metamatrix.dqp.client.RequestInfo#setXMLStyleSheet(java.lang.String)

getTransactionAutoWrapMode

public int getTransactionAutoWrapMode()

setTransactionAutoWrapMode

public void setTransactionAutoWrapMode(int autoWrapMode)
Since:
4.2
See Also:
com.metamatrix.dqp.client.RequestInfo#setTransactionAutoWrapMode(int)

getUseResultSetCache

public boolean getUseResultSetCache()

setUseResultSetCache

public void setUseResultSetCache(boolean flag)
Since:
4.2
See Also:
com.metamatrix.dqp.client.RequestInfo#setUseResultSetCache(boolean)

setCommandPayload

public void setCommandPayload(java.io.Serializable payload)
Since:
4.2
See Also:
com.metamatrix.dqp.client.RequestInfo#setCommandPayload(java.io.Serializable)


Copyright © 2009. All Rights Reserved.