java.lang.Object
org.apache.jena.sparql.engine.QueryEngineFactoryWrapper
- All Implemented Interfaces:
QueryEngineFactory
Default processing for a DatasetGraphWrapper - unwrap and repeat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(Query query, DatasetGraph dsg, Context context) Detect appropriate requests for a particular query engine for a particular graph type.booleanaccept(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 QueryEngineFactoryget()
-
Constructor Details
-
QueryEngineFactoryWrapper
public QueryEngineFactoryWrapper()
-
-
Method Details
-
get
-
accept
Description copied from interface:QueryEngineFactoryDetect appropriate requests for a particular query engine for a particular graph type.- Specified by:
acceptin interfaceQueryEngineFactory- Parameters:
query- aQueryto be executeddsg- theDatasetGraphover which the query is to be executedcontext- theContextin 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:QueryEngineFactoryCall 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:
createin interfaceQueryEngineFactory
-
accept
Description copied from interface:QueryEngineFactoryDetect appropriate requests for a particular query engine for a particular graph type.- Specified by:
acceptin interfaceQueryEngineFactory- Parameters:
op- anOpto be executeddsg- theDatasetGraphover which the operation is to be executedcontext- theContextin 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:QueryEngineFactoryCall 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:
createin interfaceQueryEngineFactory
-