Class ParallelExecutionEngine

  • All Implemented Interfaces:
    IExecutionEngine

    public class ParallelExecutionEngine
    extends ExecutionEngine
    Implements the default execution engine class. The idea is that the engine gets as input a link specification and a planner type, executes the independent parts of the plan returned from the planner in parallel and returns a MemoryMemoryMapping.
    Version:
    1.0
    Author:
    Kleanthi Georgala (georgala@informatik.uni-leipzig.de)
    • Constructor Detail

      • ParallelExecutionEngine

        public ParallelExecutionEngine​(ACache source,
                                       ACache target,
                                       String sourceVar,
                                       String targetVar,
                                       long maxOpt,
                                       double k)
        Constructor for a parallel execution engine.
        Parameters:
        source - Source cache
        target - Target cache
        sourceVar - Source variable
        targetVar - Target variable
    • Method Detail

      • execute

        public AMapping execute​(LinkSpecification spec,
                                IPlanner planner)
        Implementation of the execution of an execution plan. Independent parts of the plan are executed in parallel.
        Parameters:
        spec - The input link specification
        planner - The chosen planner
        Returns:
        The mapping from running the plan