Package org.drools.core
Class QueryResultsRowImpl
java.lang.Object
org.drools.core.QueryResultsRowImpl
- All Implemented Interfaces:
QueryResultsRow,Row
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionQueryResultsRowImpl(QueryRowWithSubruleIndex row, ReteEvaluator reteEvaluator, QueryResultsImpl queryResults) -
Method Summary
Modifier and TypeMethodDescriptionget(int i) Returns the Object for int position in the Tupleget(Declaration declaration) Return the Object for the given Declaration.Return a map of Declarations where the key is the identifier and the value is the Declaration.getFactHandle(int i) getFactHandle(String identifier) getFactHandle(Declaration declr) Return the FactHandles for the Tuple.intintsize()The size of the Tuple; i.e.
-
Field Details
-
row
-
-
Constructor Details
-
QueryResultsRowImpl
public QueryResultsRowImpl(QueryRowWithSubruleIndex row, ReteEvaluator reteEvaluator, QueryResultsImpl queryResults)
-
-
Method Details
-
getSubruleIndex
public int getSubruleIndex() -
getDeclarations
Return a map of Declarations where the key is the identifier and the value is the Declaration.- Returns:
- The Map of Declarations.
-
get
Returns the Object for int position in the Tuple- Parameters:
i-- Returns:
- The Object
-
get
-
get
Return the Object for the given Declaration. -
getFactHandle
- Specified by:
getFactHandlein interfaceRow
-
getFactHandle
-
getFactHandle
-
getFactHandles
Return the FactHandles for the Tuple.- Returns:
-
size
public int size()The size of the Tuple; i.e. the number of columns (FactHandles) in this row result.- Returns:
-