Sparksee  6.0.2
STSQuery Class Reference

Query class. More...

Inheritance diagram for STSQuery:
Inheritance graph
Collaboration diagram for STSQuery:
Collaboration graph

Instance Methods

(STSResultSet *) - execute:reiterable:
 Executes the given statement. More...
 
(STSQueryStream *) - setStream:handler:
 Sets a query stream handler. More...
 
(void) - setDynamic:value:
 Sets the value for a dynamic paramater. More...
 
(void) - close
 Closes the Query instance.
 
(BOOL) - isClosed
 Check if the Query instance is closed.
 

Detailed Description

Query class.

Author
Sparsity Technologies http://www.sparsity-technologies.com

Method Documentation

- (STSResultSet*) execute: (NSString *)  stmt
reiterable: (BOOL)  reiterable 

Executes the given statement.

Parameters
stmt[in] Query statement.
reiterable[in] Whether we want the resultset to be reiterable or not
Returns
A ResultSet instance with the contents of the result of the query.
- (void) setDynamic: (NSString *)  name
value: (STSValue *)  value 

Sets the value for a dynamic paramater.

Parameters
name[in] Parameter name
value[in] Parameter value
- (STSQueryStream*) setStream: (NSString *)  stream
handler: (STSQueryStream *)  handler 

Sets a query stream handler.

Query streams handlers are created and destroyed by the caller.

Parameters
stream[in] The stream name
handler[in] Query stream handler
Returns
The previous handler, or NULL if it does not exists

The documentation for this class was generated from the following file: