Module org.apache.jena.arq
Class ChainingServiceExecutorWrapper
java.lang.Object
org.apache.jena.sparql.service.single.ChainingServiceExecutorWrapper
- All Implemented Interfaces:
ChainingServiceExecutor
Turns a ServiceExecutor into a chaining one.
Mainly used by
ServiceExecutorRegistry
for wrapping
non-chaining service executors.
If the executor returns null then the next link in the chain will be tried.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateExecution
(OpService opExecute, OpService opOriginal, Binding binding, ExecutionContext execCxt, ServiceExecutor chain) If this factory cannot handle the execution request then this method should return null.
-
Constructor Details
-
ChainingServiceExecutorWrapper
-
-
Method Details
-
getDelegate
-
createExecution
public QueryIterator createExecution(OpService opExecute, OpService opOriginal, Binding binding, ExecutionContext execCxt, ServiceExecutor chain) Description copied from interface:ChainingServiceExecutor
If this factory cannot handle the execution request then this method should return null. Otherwise, aQueryIterator
is returned.- Specified by:
createExecution
in interfaceChainingServiceExecutor
- Returns:
- A QueryIterator if this factory can handle the request, or null otherwise.
-