quoggles.auxiliary
Interface RunQuery
- All Known Implementing Classes:
- QRunQuery
- public interface RunQuery
Interface of classes that provide a runQuery method.
|
Method Summary |
java.util.List |
runQuery(org.graffiti.graph.Graph qGraph,
java.util.Collection sourceNodes,
boolean internalUseOnly,
java.util.List curResult,
java.util.Stack nodesTodo)
Executes the query given by the queryGraph and returns the result in
a table (list of lists). |
runQuery
public java.util.List runQuery(org.graffiti.graph.Graph qGraph,
java.util.Collection sourceNodes,
boolean internalUseOnly,
java.util.List curResult,
java.util.Stack nodesTodo)
throws QueryExecutionException
- Executes the query given by the queryGraph and returns the result in
a table (list of lists).
- Parameters:
qGraph - the query graph to be executedsourceNodes - the nodes where to start the queryinternalUseOnly - true if there should be no side effects to the
graphical system etc.curResult - the result table to which the new query results will be
addednodesTodo - the stack of nodes that still have to be processed
- Returns:
- the result of the query; it is a table i.e. an
ArrayList of rows that are Collections
themselves.
- Throws:
(all - sorts of) QueryExecutionExceptions
if anything goes wrong
QueryExecutionException