public class QueryResults extends Object implements Iterable<QueryResult>
Modifier and Type | Field and Description |
---|---|
protected Declaration[] |
parameters |
protected List<QueryRowWithSubruleIndex> |
results |
protected WorkingMemory |
workingMemory |
Constructor and Description |
---|
QueryResults(List<QueryRowWithSubruleIndex> results,
Map<String,Declaration>[] declarations,
WorkingMemory workingMemory,
Declaration[] parameters) |
Modifier and Type | Method and Description |
---|---|
QueryResult |
get(int i) |
Map<String,Declaration>[] |
getDeclarations() |
Map<String,Declaration> |
getDeclarations(int subruleIndex) |
Declaration[] |
getParameters() |
Iterator<QueryResult> |
iterator()
Returns an Iterator for the results.
|
int |
size()
The results size
|
protected List<QueryRowWithSubruleIndex> results
protected WorkingMemory workingMemory
protected Declaration[] parameters
public QueryResults(List<QueryRowWithSubruleIndex> results, Map<String,Declaration>[] declarations, WorkingMemory workingMemory, Declaration[] parameters)
public Map<String,Declaration>[] getDeclarations()
public Declaration[] getParameters()
public Map<String,Declaration> getDeclarations(int subruleIndex)
public QueryResult get(int i)
public Iterator<QueryResult> iterator()
iterator
in interface Iterable<QueryResult>
public int size()
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.