org.kie.api.runtime.rule

## Interface QueryResults

- All Superinterfaces:
    Iterable<QueryResultsRow>

      public interface QueryResults
      extends 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 Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String[]` | `getIdentifiers()`
    `Iterator<QueryResultsRow>` | `iterator()`
    `int` | `size()`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, spliterator`

- - ### Method Detail

    - #### getIdentifiers

          String[] getIdentifiers()

    - #### iterator

          Iterator<QueryResultsRow> iterator()

      Specified by:
        `iterator` in interface `Iterable<QueryResultsRow>`

    - #### size

          int size()

Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.