Package 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 Default Methods Modifier and Type Method Description String[]
getIdentifiers()
Iterator<QueryResultsRow>
iterator()
int
size()
default List<Map<String,Object>>
toList()
default <T> List<T>
toList(String identifier)
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-