public class QueryResultsImpl extends Object implements org.kie.api.runtime.rule.QueryResults
Modifier and Type | Field and Description |
---|---|
protected Declaration[] |
parameters |
protected List<QueryRowWithSubruleIndex> |
results |
protected WorkingMemory |
workingMemory |
Constructor and Description |
---|
QueryResultsImpl(List<QueryRowWithSubruleIndex> results,
Map<String,Declaration>[] declarations,
WorkingMemory workingMemory,
Declaration[] parameters) |
Modifier and Type | Method and Description |
---|---|
QueryResultsRowImpl |
get(int i) |
Map<String,Declaration>[] |
getDeclarations() |
Map<String,Declaration> |
getDeclarations(int subruleIndex) |
String[] |
getIdentifiers() |
Declaration[] |
getParameters() |
Iterator<org.kie.api.runtime.rule.QueryResultsRow> |
iterator() |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
protected List<QueryRowWithSubruleIndex> results
protected WorkingMemory workingMemory
protected Declaration[] parameters
public QueryResultsImpl(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 QueryResultsRowImpl get(int i)
public int size()
size
in interface org.kie.api.runtime.rule.QueryResults
public String[] getIdentifiers()
getIdentifiers
in interface org.kie.api.runtime.rule.QueryResults
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.