The Assimilation Project  based on Assimilation version 1.1.7.1474836767
cma.query.PythonExec Class Reference
Inheritance diagram for cma.query.PythonExec:
Collaboration diagram for cma.query.PythonExec:

Public Member Functions

def parameter_names (self)
 
def result_iterator (self, params)
 
- Public Member Functions inherited from cma.query.QueryExecutor
def __init__ (self, store, metadata)
 
def parameter_names (self)
 
def result_iterator (self, params)
 

Static Public Member Functions

def register (ourclass)
 
def construct_query (store, metadata)
 
- Static Public Member Functions inherited from cma.query.QueryExecutor
def construct_query (store, metadata)
 
def register (ourclass)
 

Static Public Attributes

dictionary EXECUTOR_METHODS = {}
 
list PARAMETERS = []
 
- Static Public Attributes inherited from cma.query.QueryExecutor
string DEFAULT_EXECUTOR_METHOD = 'CypherExecutor'
 
dictionary EXECUTOR_METHODS = {}
 

Additional Inherited Members

- Data Fields inherited from cma.query.QueryExecutor
 store
 
 metadata
 

Detailed Description

QueryExecutor subclass for Python code queries

Definition at line 665 of file query.py.

Member Function Documentation

def cma.query.PythonExec.construct_query (   store,
  metadata 
)
static

Definition at line 689 of file query.py.

def cma.query.PythonExec.parameter_names (   self)
We return a set of parameters that we expect.
We return None if we are flexible (or don't know) about our expected parameters.
Return the parameter names our cypher query uses

Definition at line 671 of file query.py.

References cma.query.PythonExec.PARAMETERS.

def cma.query.PythonExec.register (   ourclass)
static

Definition at line 678 of file query.py.

def cma.query.PythonExec.result_iterator (   self,
  params 
)
We return an iterator which will yield the results of performing
this query with these parameters.

Definition at line 682 of file query.py.

Field Documentation

dictionary cma.query.PythonExec.EXECUTOR_METHODS = {}
static

Definition at line 668 of file query.py.

list cma.query.PythonExec.PARAMETERS = []
static

Definition at line 669 of file query.py.

Referenced by cma.query.PythonExec.parameter_names().


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