Class 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 Detail

      • QueryBatchResult

        public QueryBatchResult​(List<QueryMatch> matches,
                                boolean wasCancelled)
    • Method Detail

      • wasCancelled

        public boolean wasCancelled()
        Returns:
        true if the run stopped on a cancellation request