Query Class Reference
[Gdb]

Query class. More...

Inheritance diagram for Query:

Inheritance graph
Collaboration diagram for Query:

Collaboration graph

List of all members.

Public Member Functions

virtual ~Query ()
 Destructor.
ResultSetExecute (const std::wstring &stmt)
 Executes the given statement.
QueryStreamSetStream (const std::wstring &stream, QueryStream *handler)
 Sets a query stream handler.
void SetDynamic (const std::wstring &name, Value &value)
 Sets the value for a dynamic paramater.

Friends

class Session
class QueryContext


Detailed Description

Query class.

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

Member Function Documentation

ResultSet* Query::Execute ( const std::wstring &  stmt  ) 

Executes the given statement.

Parameters:
stmt [in] Query statement.
Returns:
A ResultSet instance with the contents of the result of the query.

QueryStream* Query::SetStream ( const std::wstring &  stream,
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

void Query::SetDynamic ( const std::wstring &  name,
Value value 
)

Sets the value for a dynamic paramater.

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


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

Generated on Tue Jun 2 13:44:20 2015 for Sparksee by  doxygen 1.5.6