Package tools.refinery.interpreter.api
Class InterpreterEngineOptions
java.lang.Object
tools.refinery.interpreter.api.InterpreterEngineOptions
This class is intended to provide options to a created
InterpreterEngine
instance. The DEFAULT
instance represents the configuration that is selected when no explicit options are provided by the user. To create
new configurations, use the static builder methods defineOptions()
(starts with empty options) or
copyOptions(InterpreterEngineOptions)
(starts with all options from an existing configuration).- Since:
- 1.4
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptioncopyOptions
(InterpreterEngineOptions options) Initializes an option builder with settings from an existing configuration.Initializes an option builder with no previously set options.static final InterpreterEngineOptions
Returns the configured default backendReturns the configured default caching backend.Returns the configured default search-based backend.static void
setSystemDefaultBackends
(IQueryBackendFactory systemDefaultBackendFactory, IQueryBackendFactory systemDefaultCachingBackendFactory, IQueryBackendFactory systemDefaultSearchBackendFactory) toString()
-
Method Details
-
setSystemDefaultBackends
public static void setSystemDefaultBackends(IQueryBackendFactory systemDefaultBackendFactory, IQueryBackendFactory systemDefaultCachingBackendFactory, IQueryBackendFactory systemDefaultSearchBackendFactory) - Since:
- 2.0
-
getDefault
- Since:
- 2.0
-
defineOptions
Initializes an option builder with no previously set options. -
copyOptions
Initializes an option builder with settings from an existing configuration. -
getEngineDefaultHints
-
getDefaultBackendFactory
Returns the configured default backend- Returns:
- the defaultBackendFactory
-
getDefaultCachingBackendFactory
Returns the configured default caching backend. If the default backend caches matches, it is usually expected, but not mandatory for the two default backends to be the same. -
getDefaultSearchBackendFactory
Returns the configured default search-based backend. If the default backend is search-based, it is usually expected, but not mandatory for the two default backends to be the same.- Since:
- 2.0
-
toString
-
getQueryBackendFactory
- Since:
- 2.0
-