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 boolean
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.Plan
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
.Plan
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()
-
-
-
Method Detail
-
get
public static QueryEngineFactory get()
-
accept
public boolean accept(Query query, DatasetGraph dsg, Context context)
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
public Plan create(Query query, DatasetGraph dsg, Binding inputBinding, Context context)
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
public boolean accept(Op op, DatasetGraph dsg, Context context)
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
public Plan create(Op op, DatasetGraph dsg, Binding inputBinding, Context context)
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
-
-