Sparksee 6.1.0
STSQuery Class Reference

Query class. More...

#include <Sparksee.h>

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

Instance Methods

(STSResultSet *) - execute:reiterable:
 Executes the given statement.
(STSQueryStream *) - setStream:handler:
 Sets a query stream handler Query streams handlers are created and destroyed by the caller.
(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

◆ execute:reiterable:

- (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.

◆ setDynamic:value:

- (void) setDynamic: (NSString *) name
value: (STSValue *) value 

Sets the value for a dynamic paramater.

Parameters
name[in] Parameter name
value[in] Parameter value

◆ setStream:handler:

- (STSQueryStream *) setStream: (NSString *) stream
handler: (STSQueryStream *) handler 

Sets a query stream handler Query streams handlers are created and destroyed by the caller.

DeprecatedQueryStreams should be handled by a QueryStreamManager setup at database level instead.

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:
  • Sparksee.h