Class QueryEngineRegistry


  • public class QueryEngineRegistry
    extends java.lang.Object
    • Method Detail

      • findFactory

        public static QueryEngineFactory findFactory​(Query query,
                                                     DatasetGraph dataset,
                                                     Context context)
        Locate a suitable factory for this query and dataset from the default registry
        Parameters:
        query - Query
        dataset - Dataset
        Returns:
        A QueryExecutionFactory or null if none accept the request
      • findFactory

        public static QueryEngineFactory findFactory​(Op op,
                                                     DatasetGraph dataset,
                                                     Context context)
        Locate a suitable factory for this algebra expression and dataset from the default registry
        Parameters:
        op - Algebra expression
        dataset - DatasetGraph
        context -
        Returns:
        A QueryExecutionFactory or null if none accept the request
      • find

        public QueryEngineFactory find​(Query query,
                                       DatasetGraph dataset)
        Locate a suitable factory for this query and dataset
        Parameters:
        query - Query
        dataset - Dataset
        Returns:
        A QueryExecutionFactory or null if none accept the request
      • find

        public QueryEngineFactory find​(Query query,
                                       DatasetGraph dataset,
                                       Context context)
        Locate a suitable factory for this query and dataset
        Parameters:
        query - Query
        dataset - Dataset
        Returns:
        A QueryExecutionFactory or null if none accept the request
      • find

        public QueryEngineFactory find​(Op op,
                                       DatasetGraph dataset,
                                       Context context)
        Locate a suitable factory for this algebra expression and dataset
        Parameters:
        op - Algebra expression
        dataset - DatasetGraph
        context -
        Returns:
        A QueryExecutionFactory or null if none accept the request
      • addFactory

        public static void addFactory​(QueryEngineFactory f)
        Add a QueryExecutionFactory to the default registry
      • removeFactory

        public static void removeFactory​(QueryEngineFactory f)
        Remove a QueryExecutionFactory
      • factories

        public java.util.List<QueryEngineFactory> factories()
        Allow careful manipulation of the factories list
      • containsFactory

        public static boolean containsFactory​(QueryEngineFactory f)
        Check whether a query engine factory is already registered in the default registry
      • contains

        public boolean contains​(QueryEngineFactory f)
        Check whether a query engine factory is already registered