org.terracotta.toolkit.search
Interface SearchQueryResultSet


public interface SearchQueryResultSet

Result of executing ToolkitSearchQuery


Method Summary
 boolean anyCriteriaMatched()
          Returns true if the query that returned this result set matched anything.
 void close()
          Closes this result set.
 List<Object> getAggregatorResults()
          Returns result of running requested aggregators
 List<SearchResult> getResults()
          Returns list of individual search results
 boolean isClosed()
           
 

Method Detail

getAggregatorResults

List<Object> getAggregatorResults()
Returns result of running requested aggregators


getResults

List<SearchResult> getResults()
Returns list of individual search results


anyCriteriaMatched

boolean anyCriteriaMatched()
Returns true if the query that returned this result set matched anything.


close

void close()
Closes this result set. This frees up all resources associated with this set and makes it unavailable for future interactions.


isClosed

boolean isClosed()
Returns:
true if this result set has been closed


Copyright © 2014 Terracotta, Inc.. All Rights Reserved.