Interface ParallelExecutor<T>

    • Method Detail

      • addResult

        void addResult​(CloseableIteration<T,​QueryEvaluationException> res)
        Handle the result appropriately, e.g. add it to the result iteration. Take care for synchronization in a multithreaded environment
        Parameters:
        res -
      • toss

        void toss​(Exception e)
        Toss some exception to the controlling instance
        Parameters:
        e -
      • done

        void done()
        Inform the controlling instance that some job is done from a different thread. In most cases this is a no-op.
      • isFinished

        boolean isFinished()
        Return true if this executor is finished or aborted
        Returns:
        whether the execution is finished
      • getQueryInfo

        QueryInfo getQueryInfo()
        Return the query info of the associated query
        Returns:
        the query info