Class QueryEngineRegistry

java.lang.Object
org.apache.jena.sparql.engine.QueryEngineRegistry

public class QueryEngineRegistry extends Object
  • Method Details

    • get

      public static QueryEngineRegistry get()
    • 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
    • add

      public void add(QueryEngineFactory f)
      Add a QueryExecutionFactory
    • removeFactory

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

      public void remove(QueryEngineFactory f)
      Remove a QueryExecutionFactory
    • factories

      public 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