Class ExecutionPlannerFactory


  • public class ExecutionPlannerFactory
    extends Object
    Implements the planner factory class. The planner factory class is responsible for choosing and creating the corresponding planner object.
    Version:
    1.0
    Author:
    Kleanthi Georgala (georgala@informatik.uni-leipzig.de)
    • Constructor Detail

      • ExecutionPlannerFactory

        public ExecutionPlannerFactory()
    • Method Detail

      • getExecutionPlannerType

        public static ExecutionPlannerFactory.ExecutionPlannerType getExecutionPlannerType​(String name)
        Factory function for retrieving a planner name from the set of allowed types.
        Parameters:
        name - The name/type of the planner.
        Returns:
        a specific planner type
      • getPlanner

        public static Planner getPlanner​(ExecutionPlannerFactory.ExecutionPlannerType type,
                                         ACache source,
                                         ACache target)
        Factory function for retrieving the desired planner instance.
        Parameters:
        type - Type of the Planner
        source - Source cache
        target - Target cache
        Returns:
        a specific planner instance