public class QueryEngineRegistry extends Object
Modifier and Type | Method and Description |
---|---|
void |
add(QueryEngineFactory f)
Add a QueryExecutionFactory
|
static void |
addFactory(QueryEngineFactory f)
Add a QueryExecutionFactory to the default registry
|
boolean |
contains(QueryEngineFactory f)
Check whether a query engine factory is already registered
|
static boolean |
containsFactory(QueryEngineFactory f)
Check whether a query engine factory is already registered in the default registry
|
List<QueryEngineFactory> |
factories()
Allow careful manipulation of the factories list
|
QueryEngineFactory |
find(Op op,
DatasetGraph dataset,
Context context)
Locate a suitable factory for this algebra expression and dataset
|
QueryEngineFactory |
find(Query query,
DatasetGraph dataset)
Locate a suitable factory for this query and dataset
|
QueryEngineFactory |
find(Query query,
DatasetGraph dataset,
Context context)
Locate a suitable factory for this query and dataset
|
static QueryEngineFactory |
findFactory(Op op,
DatasetGraph dataset,
Context context)
Locate a suitable factory for this algebra expression
and dataset from the default registry
|
static QueryEngineFactory |
findFactory(Query query,
DatasetGraph dataset,
Context context)
Locate a suitable factory for this query and dataset from the default registry
|
static QueryEngineRegistry |
get() |
void |
remove(QueryEngineFactory f)
Remove a QueryExecutionFactory
|
static void |
removeFactory(QueryEngineFactory f)
Remove a QueryExecutionFactory
|
public static QueryEngineRegistry get()
public static QueryEngineFactory findFactory(Query query, DatasetGraph dataset, Context context)
query
- Querydataset
- Datasetpublic static QueryEngineFactory findFactory(Op op, DatasetGraph dataset, Context context)
op
- Algebra expressiondataset
- DatasetGraphcontext
- public QueryEngineFactory find(Query query, DatasetGraph dataset)
query
- Querydataset
- Datasetpublic QueryEngineFactory find(Query query, DatasetGraph dataset, Context context)
query
- Querydataset
- Datasetpublic QueryEngineFactory find(Op op, DatasetGraph dataset, Context context)
op
- Algebra expressiondataset
- DatasetGraphcontext
- public static void addFactory(QueryEngineFactory f)
public void add(QueryEngineFactory f)
public static void removeFactory(QueryEngineFactory f)
public void remove(QueryEngineFactory f)
public List<QueryEngineFactory> factories()
public static boolean containsFactory(QueryEngineFactory f)
public boolean contains(QueryEngineFactory f)
Licenced under the Apache License, Version 2.0