Package org.apache.jena.sparql.engine
Class QueryEngineFactoryWrapper
- java.lang.Object
-
- org.apache.jena.sparql.engine.QueryEngineFactoryWrapper
-
- All Implemented Interfaces:
QueryEngineFactory
public class QueryEngineFactoryWrapper extends java.lang.Object implements QueryEngineFactory
Default processing for a DatasetGraphWrapper - unwrap and repeat
-
-
Constructor Summary
Constructors Constructor Description QueryEngineFactoryWrapper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(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.Plancreate(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.Plancreate(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()
-
-
-
Method Detail
-
get
public static QueryEngineFactory get()
-
accept
public boolean accept(Query query, DatasetGraph dsg, Context context)
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
public Plan create(Query query, DatasetGraph dsg, Binding inputBinding, Context context)
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
public boolean accept(Op op, DatasetGraph dsg, Context context)
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
public Plan create(Op op, DatasetGraph dsg, Binding inputBinding, Context context)
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
-
-