|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.QueryResult
public class QueryResult
Field Summary | |
---|---|
protected QueryRowWithSubruleIndex |
row
|
Constructor Summary | |
---|---|
QueryResult(QueryRowWithSubruleIndex row,
WorkingMemory workingMemory,
QueryResults queryResults)
|
Method Summary | |
---|---|
Object |
get(Declaration declaration)
Return the Object for the given Declaration. |
Object |
get(int i)
Returns the Object for int position in the Tuple |
Object |
get(String identifier)
Return the Object for the given Declaration identifier. |
Map<String,Declaration> |
getDeclarations()
Return a map of Declarations where the key is the identifier and the value is the Declaration. |
FactHandle |
getFactHandle(Declaration declr)
|
FactHandle |
getFactHandle(int i)
|
FactHandle |
getFactHandle(String identifier)
|
FactHandle[] |
getFactHandles()
Return the FactHandles for the Tuple. |
int |
getSubruleIndex()
|
int |
size()
The size of the Tuple; i.e. the number of columns (FactHandles) in this row result. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected QueryRowWithSubruleIndex row
Constructor Detail |
---|
public QueryResult(QueryRowWithSubruleIndex row, WorkingMemory workingMemory, QueryResults queryResults)
Method Detail |
---|
public int getSubruleIndex()
public Map<String,Declaration> getDeclarations()
public Object get(int i)
i
-
public Object get(String identifier)
identifier
-
public Object get(Declaration declaration)
identifier
-
public FactHandle getFactHandle(String identifier)
public FactHandle getFactHandle(Declaration declr)
public FactHandle getFactHandle(int i)
public FactHandle[] getFactHandles()
public int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |