SparkseeNet  6.0.2
Public Member Functions | List of all members
com.sparsity.sparksee.gdb.Query Class Reference

Query class. More...

Public Member Functions

void SetDynamic (System.String name, com.sparsity.sparksee.gdb.Value value)
 Sets the value for a dynamic paramater.
 
com.sparsity.sparksee.gdb.QueryStream SetStream (System.String stream, com.sparsity.sparksee.gdb.QueryStream handler)
 Sets a query stream handler.
 
com.sparsity.sparksee.gdb.ResultSet Execute (System.String stmt, bool reiterable)
 Executes the given statement.
 

Detailed Description

Query class.

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

Member Function Documentation

com.sparsity.sparksee.gdb.ResultSet com.sparsity.sparksee.gdb.Query.Execute ( System.String  stmt,
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 com.sparsity.sparksee.gdb.Query.SetDynamic ( System.String  name,
com.sparsity.sparksee.gdb.Value  value 
)

Sets the value for a dynamic paramater.

Parameters
name[in] Parameter name
value[in] Parameter value
com.sparsity.sparksee.gdb.QueryStream com.sparsity.sparksee.gdb.Query.SetStream ( System.String  stream,
com.sparsity.sparksee.gdb.QueryStream  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