The Assimilation Project  based on Assimilation version 1.1.7.1474836767
query.py File Reference

Go to the source code of this file.

Data Structures

class  cma.query.ClientQuery
 
class  cma.query.QueryExecutor
 
class  cma.query.CypherExecutor
 
class  cma.query.PythonExec
 
class  cma.query.AllPythonRuleScores
 
class  cma.query.PythonSecRuleScores
 
class  cma.query.PythonHostSecScores
 
class  cma.query.AllPythonHostScores
 
class  cma.query.AllPythonTotalScores
 
class  cma.query.PythonPackagePrefixQuery
 
class  cma.query.PythonAllPackageQuery
 
class  cma.query.PythonPackageRegexQuery
 
class  cma.query.PythonPackageQuery
 
class  cma.query.PythonDroneSubgraphQuery
 
class  cma.query.PythonAllDronesSubgraphQuery
 

Namespaces

 cma.query
 

Functions

def cma.query.setup_dict3 (d, key1, key2, key3)
 
def cma.query.setup_dict4 (d, key1, key2, key3, key4)
 
def cma.query.grab_category_scores (store, categories=None, domains=None, debug=False)
 
def cma.query.yield_total_scores (dtype_totals, categories=None)
 
def cma.query.yield_drone_scores (categories, drone_totals, dtype_totals)
 
def cma.query.yield_rule_scores (categories, dtype_totals, rule_totals)
 
def cma.query.reltype_expr (reltypes)
 

Variables

 cma.query.PackageTuple
 
 cma.query.metadata1 = \
 
 cma.query.q1 = ClientQuery('allqueries', metadata1)
 
 cma.query.metadata2 = \
 
 cma.query.q2 = ClientQuery('allqueries', metadata2)
 
 cma.query.metadata3 = \
 
 cma.query.metadata4 = \
 
 cma.query.q3 = ClientQuery('ipowners', metadata3)
 
 cma.query.q4 = ClientQuery('subgraph', metadata4)
 
 cma.query.neodb = neo4j.Graph()
 
dictionary cma.query.umap = {'ClientQuery': True}
 
dictionary cma.query.ckmap = {'ClientQuery': {'index': 'ClientQuery', 'kattr':'queryname', 'value':'None'}}
 
 cma.query.qstore = Store(neodb, uniqueindexmap=umap, classkeymap=ckmap)
 
 cma.query.dirname = os.path.dirname(sys.argv[0])
 
 cma.query.queries = ClientQuery.load_tree(qstore, "%s/../queries" % dirname)
 
list cma.query.qlist = [q for q in queries]
 
 cma.query.qe2 = qstore.load_or_create(ClientQuery, queryname='list')
 
string cma.query.testresult = ''
 
 cma.query.None
 
 cma.query.idsonly
 
 cma.query.False
 
 cma.query.expandJSON