Package com.tonic.analysis.query.exec
Class QueryBatchRunner.QueryBatchResult
- java.lang.Object
-
- com.tonic.analysis.query.exec.QueryBatchRunner.QueryBatchResult
-
- Enclosing class:
- QueryBatchRunner
public static final class QueryBatchRunner.QueryBatchResult extends Object
The outcome of one run - the ordered matches plus whether the run was cut short by cancellation.
-
-
Constructor Summary
Constructors Constructor Description QueryBatchResult(List<QueryMatch> matches, boolean wasCancelled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<QueryMatch>matches()booleanwasCancelled()
-
-
-
Constructor Detail
-
QueryBatchResult
public QueryBatchResult(List<QueryMatch> matches, boolean wasCancelled)
-
-
Method Detail
-
matches
public List<QueryMatch> matches()
- Returns:
- the matches
-
wasCancelled
public boolean wasCancelled()
- Returns:
- true if the run stopped on a cancellation request
-
-