| |
|
| java.lang.Object org.continuent.sequoia.common.sql.Request org.continuent.sequoia.common.sql.RequestWithResultSetParameters
RequestWithResultSetParameters | public class RequestWithResultSetParameters extends Request (Code) | | This class defines a Request with additional parameters indicating how the
ResulSet should be fetched. This is only useful for calls to
Statement.executeQuery() or Statement.execute() when ResultSets are returned.
author: Emmanuel Cecchet version: 1.0 |
RequestWithResultSetParameters | public RequestWithResultSetParameters(String sqlTemplate, String parameters, boolean escapeProcessing, int timeoutInSeconds)(Code) | | Creates a new RequestWithResultSetParameters object
Parameters: sqlTemplate - the SQL template (using ? as parameter placeholders) ornull Parameters: parameters - the SQL statement Parameters: escapeProcessing - Should the backend driver do escape processingbefore sending to the database? Parameters: timeoutInSeconds - Timeout for this request in seconds, value 0 meansno timeout |
RequestWithResultSetParameters | public RequestWithResultSetParameters(DriverBufferedInputStream in) throws IOException(Code) | | Creates a new RequestWithResultSetParameters object,
deserializing it from an input stream. Has to mirror the serialization
method below.
Parameters: in - input stream throws: IOException - stream error |
getCursorName | final public String getCursorName()(Code) | | Returns the cursorName value.
Returns the cursorName. |
getFetchSize | final public int getFetchSize()(Code) | | Returns the fetchSize value.
Returns the fetchSize. |
getMaxRows | final public int getMaxRows()(Code) | | Returns the maxRows value.
Returns the maxRows. |
setCursorName | final public void setCursorName(String cursorName)(Code) | | Sets the cursorName value.
Parameters: cursorName - The cursorName to set. |
setFetchSize | final public void setFetchSize(int fetchSize)(Code) | | Sets the fetchSize value.
Parameters: fetchSize - The fetchSize to set. |
setMaxRows | final public void setMaxRows(int maxRows)(Code) | | Sets the maxRows value.
Parameters: maxRows - The maxRows to set. |
|
|
|