org.drools.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
 String[] getIdentifiers()
           
 Iterator<QueryResultsRow> iterator()
           
 int size()
           
 

Method Detail

getIdentifiers

String[] getIdentifiers()

iterator

Iterator<QueryResultsRow> iterator()
Specified by:
iterator in interface Iterable<QueryResultsRow>

size

int size()


Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.