Interface QueryResults

  • All Superinterfaces:
    java.lang.Iterable<QueryResultsRow>

    public interface QueryResults
    extends java.lang.Iterable<QueryResultsRow>

    Contains the results of a query. The identifiers is a map of the declarations for the query, only patterns or fields that are bound can be accessed in the QueryResultsRow. This class can be marshalled using the drools-drools-pipeline module in combination with the BatchExecutionHelper. See the BatchExecutionHelper for more details.

    • Method Detail

      • getIdentifiers

        java.lang.String[] getIdentifiers()
      • size

        int size()
      • toList

        default java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> toList()
      • toList

        default <T> java.util.List<T> toList​(java.lang.String identifier)