#include <RequestWithResultSetParameters.hpp>
Inheritance diagram for CarobNS::RequestWithResultSetParameters:
Public Member Functions | |
void | sendToStream (const DriverSocket &out) const throw (SocketIOException, UnexpectedException) |
Also serialize ResultSet parameters to the stream. | |
bool | isCursorNameNull () const |
Returns the cursorNameIsNull value. | |
std::wstring | getCursorName () const |
Returns the cursorName value. | |
void | setCursorName (std::wstring cursorNamePrm) |
Sets the cursorName value. | |
int | getFetchSize () const |
Returns the fetchSize value. | |
void | setFetchSize (int fetchSizePrm) |
Sets the fetchSize value. | |
int | getMaxRows () const |
Returns the maxRows value. | |
void | setMaxRows (int maxRowsPrm) |
Sets the maxRows value. | |
Protected Member Functions | |
RequestWithResultSetParameters (std::wstring sql) | |
Creates a new RequestWithResultSetParameters object. | |
Friends | |
class | Statement |
class | ParameterStatement |
This is only useful for calls to Statement.executeQuery() or Statement.execute() when ResultSets are returned.
CarobNS::RequestWithResultSetParameters::RequestWithResultSetParameters | ( | std::wstring | sql | ) | [protected] |
Creates a new RequestWithResultSetParameters
object.
Protected to ensure no one but friend classes can use us
sql | the SQL statement |
void CarobNS::RequestWithResultSetParameters::sendToStream | ( | const DriverSocket & | out | ) | const throw (SocketIOException, UnexpectedException) |
Also serialize ResultSet parameters to the stream.
Optionally used by serializers of those derived requests that expect a ResultSet.
out | destination socket to controller |
SocketIOException | an error occurs on the stream |
Reimplemented from CarobNS::Request.
bool CarobNS::RequestWithResultSetParameters::isCursorNameNull | ( | ) | const [inline] |
Returns the cursorNameIsNull value.
std::wstring CarobNS::RequestWithResultSetParameters::getCursorName | ( | ) | const [inline] |
Returns the cursorName value.
void CarobNS::RequestWithResultSetParameters::setCursorName | ( | std::wstring | cursorNamePrm | ) | [inline] |
Sets the cursorName value.
cursorNamePrm | cursorName to set. |
int CarobNS::RequestWithResultSetParameters::getFetchSize | ( | ) | const [inline] |
Returns the fetchSize value.
void CarobNS::RequestWithResultSetParameters::setFetchSize | ( | int | fetchSizePrm | ) | [inline] |
Sets the fetchSize value.
fetchSizePrm | fetchSize to set. |
int CarobNS::RequestWithResultSetParameters::getMaxRows | ( | ) | const [inline] |
Returns the maxRows value.
void CarobNS::RequestWithResultSetParameters::setMaxRows | ( | int | maxRowsPrm | ) | [inline] |
Sets the maxRows value.
maxRowsPrm | maxRows to set. |