Sparksee  5.2.0
STSQuery Class Reference

Query class. More...

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

Instance Methods

(STSResultSet *) - execute:
 Executes the given statement.
 
(STSQueryStream *) - setStream:handler:
 Sets a query stream handler.
 
(void) - setDynamic:value:
 Sets the value for a dynamic paramater.
 
(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

Executes the given statement.

Parameters
stmt[in] Query statement.
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: