Class ExecutionEngineFactory
- java.lang.Object
-
- org.aksw.limes.core.execution.engine.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)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExecutionEngineFactory.ExecutionEngineTypeEnum class of allowed execution engine types.
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULTExecution engine factory field for default execution engine.static StringPARTIAL_RECALLExecution engine factory field for partial recall (LIGER) execution engine.static StringSIMPLEExecution engine factory field for simple execution engine.
-
Constructor Summary
Constructors Constructor Description ExecutionEngineFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExecutionEnginegetEngine(ExecutionEngineFactory.ExecutionEngineType type, ACache source, ACache target, String sourceVar, String targetVar, long maxOpt, double k)Factory function for retrieving the desired execution engine instance.static ExecutionEngineFactory.ExecutionEngineTypegetExecutionEngineType(String name)Factory function for retrieving an execution engine name from the set of allowed types.
-
-
-
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
-
-
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 Enginesource- Source cachetarget- Target cachesourceVar- Source variabletargetVar- Target variable- Returns:
- a specific execution engine instance
-
-