Class QueryResultsRowImpl

java.lang.Object
org.drools.core.QueryResultsRowImpl
All Implemented Interfaces:
QueryResultsRow, Row

public class QueryResultsRowImpl extends Object implements QueryResultsRow
  • Field Details

  • Constructor Details

  • Method Details

    • getSubruleIndex

      public int getSubruleIndex()
    • getDeclarations

      public Map<String,Declaration> getDeclarations()
      Return a map of Declarations where the key is the identifier and the value is the Declaration.
      Returns:
      The Map of Declarations.
    • get

      public Object get(int i)
      Returns the Object for int position in the Tuple
      Parameters:
      i -
      Returns:
      The Object
    • get

      public Object get(String identifier)
      Specified by:
      get in interface Row
    • get

      public Object get(Declaration declaration)
      Return the Object for the given Declaration.
    • getFactHandle

      public FactHandle getFactHandle(String identifier)
      Specified by:
      getFactHandle in interface Row
    • getFactHandle

      public FactHandle getFactHandle(Declaration declr)
    • getFactHandle

      public FactHandle getFactHandle(int i)
    • getFactHandles

      public FactHandle[] 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: