Class ExecutionEngineFactory


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

      • DEFAULT

        public static final String DEFAULT
        Execution engine factory field for default execution engine.
        See Also:
        Constant Field Values
      • SIMPLE

        public static final String SIMPLE
        Execution engine factory field for simple execution engine.
        See Also:
        Constant Field Values
      • PARTIAL_RECALL

        public static final String PARTIAL_RECALL
        Execution engine factory field for partial recall (LIGER) execution engine.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ExecutionEngineFactory

        public ExecutionEngineFactory()
    • Method Detail

      • getExecutionEngineType

        public static ExecutionEngineFactory.ExecutionEngineType getExecutionEngineType​(String name)
        Factory function for retrieving an execution engine name from the set of allowed types.
        Parameters:
        name - The name/type of the execution engine.
        Returns:
        a specific execution engine type
      • getEngine

        public static ExecutionEngine getEngine​(ExecutionEngineFactory.ExecutionEngineType type,
                                                ACache source,
                                                ACache target,
                                                String sourceVar,
                                                String targetVar,
                                                long maxOpt,
                                                double k)
        Factory function for retrieving the desired execution engine instance.
        Parameters:
        type - Type of the Execution Engine
        source - Source cache
        target - Target cache
        sourceVar - Source variable
        targetVar - Target variable
        Returns:
        a specific execution engine instance