Class ViatraQueryEngineOptions


  • public final class ViatraQueryEngineOptions
    extends java.lang.Object
    This class is intended to provide options to a created ViatraQueryEngine 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(ViatraQueryEngineOptions) (starts with all options from an existing configuration).
    Since:
    1.4
    • Method Detail

      • getDefaultBackendFactory

        public IQueryBackendFactory getDefaultBackendFactory()
        Returns the configured default backend
        Returns:
        the defaultBackendFactory
      • getDefaultCachingBackendFactory

        public IQueryBackendFactory 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

        public IQueryBackendFactory 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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object