sparksee.Query Class Reference

Query class. More...

List of all members.

Public Member Functions

def set_dynamic
 Sets the value for a dynamic paramater.
def set_stream
 Sets a query stream handler.
def execute
 Executes the given statement.
def is_closed
 Gets if the Query instance has been closed or not.
def close
 Closes the Query instance.


Detailed Description

Query class.

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

Member Function Documentation

def sparksee.Query.set_dynamic (   self,
  name,
  value 
)

Sets the value for a dynamic paramater.

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

def sparksee.Query.set_stream (   self,
  stream,
  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

def sparksee.Query.execute (   self,
  stmt 
)

Executes the given statement.

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

def sparksee.Query.is_closed (   self  ) 

Gets if the Query instance has been closed or not.

See also:
close()
Returns:
TRUE if the Query instance has been closed, FALSE otherwise.

def sparksee.Query.close (   self  ) 

Closes the Query instance.

It must be called to ensure the integrity of all data.


Generated on Tue Jun 2 16:12:25 2015 for SparkseePython by  doxygen 1.5.6