SparkseeNet  5.1.0
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. More...
 
com.sparsity.sparksee.gdb.QueryStream SetStream (System.String stream, com.sparsity.sparksee.gdb.QueryStream handler)
 Sets a query stream handler. More...
 
com.sparsity.sparksee.gdb.ResultSet Execute (System.String stmt)
 Executes the given statement. More...
 

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)

Executes the given statement.

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