java.lang.Object
org.apache.jena.sparql.engine.QueryEngineFactoryWrapper
- All Implemented Interfaces:
QueryEngineFactory
Default processing for a DatasetGraphWrapper - unwrap and repeat
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(Query query, DatasetGraph dsg, Context context) Detect appropriate requests for a particular query engine for a particular graph type.boolean
accept
(Op op, DatasetGraph dsg, Context context) Detect appropriate requests for a particular query engine for a particular graph type.create
(Query query, DatasetGraph dsg, Binding inputBinding, Context context) Call to create aPlan
: the companionQueryEngineFactory.accept(org.apache.jena.query.Query, org.apache.jena.sparql.core.DatasetGraph, org.apache.jena.sparql.util.Context)
will have returnedtrue
.create
(Op op, DatasetGraph dsg, Binding inputBinding, Context context) Call to create aPlan
: the companionQueryEngineFactory.accept(org.apache.jena.query.Query, org.apache.jena.sparql.core.DatasetGraph, org.apache.jena.sparql.util.Context)
will have returnedtrue
.static QueryEngineFactory
get()
-
Constructor Details
-
QueryEngineFactoryWrapper
public QueryEngineFactoryWrapper()
-
-
Method Details
-
get
-
accept
Description copied from interface:QueryEngineFactory
Detect appropriate requests for a particular query engine for a particular graph type.- Specified by:
accept
in interfaceQueryEngineFactory
- Parameters:
query
- aQuery
to be executeddsg
- theDatasetGraph
over which the query is to be executedcontext
- theContext
in which the query is to be executed- Returns:
- whether the kind of query engine produced by this factory can handle this task
-
create
Description copied from interface:QueryEngineFactory
Call to create aPlan
: the companionQueryEngineFactory.accept(org.apache.jena.query.Query, org.apache.jena.sparql.core.DatasetGraph, org.apache.jena.sparql.util.Context)
will have returnedtrue
.- Specified by:
create
in interfaceQueryEngineFactory
-
accept
Description copied from interface:QueryEngineFactory
Detect appropriate requests for a particular query engine for a particular graph type.- Specified by:
accept
in interfaceQueryEngineFactory
- Parameters:
op
- anOp
to be executeddsg
- theDatasetGraph
over which the operation is to be executedcontext
- theContext
in which the operation is to be executed- Returns:
- whether the kind of query engine produced by this factory can handle this task
-
create
Description copied from interface:QueryEngineFactory
Call to create aPlan
: the companionQueryEngineFactory.accept(org.apache.jena.query.Query, org.apache.jena.sparql.core.DatasetGraph, org.apache.jena.sparql.util.Context)
will have returnedtrue
.- Specified by:
create
in interfaceQueryEngineFactory
-