java.lang.Object
org.apache.jena.sparql.engine.ExecutionContext
- All Implemented Interfaces:
FunctionEnv
-
Constructor Summary
ConstructorsConstructorDescriptionExecutionContext(DatasetGraph dataset) Setup with defaults of global settingsExecutionContext(DatasetGraph dataset, OpExecutorFactory factory) Setup with defaults of global settings but explicitOpExecutorfactory.ExecutionContext(ExecutionContext other) CloneExecutionContext(ExecutionContext other, Graph activeGraph) Clone and change active graph - shares trackingExecutionContext(Context params, Graph activeGraph, DatasetGraph dataset, OpExecutorFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionvoidclosedIterator(QueryIterator qIter) Return the active graph (the one matching is against at this point in the query.Return the context for this function callReturn the dataset for the queryvoidopenIterator(QueryIterator qIter) voidsetExecutor(OpExecutorFactory executor) Setter for the policy for algebra expression evaluation - use with care
-
Constructor Details
-
ExecutionContext
Clone -
ExecutionContext
Clone and change active graph - shares tracking -
ExecutionContext
Setup with defaults of global settings -
ExecutionContext
Setup with defaults of global settings but explicitOpExecutorfactory. -
ExecutionContext
public ExecutionContext(Context params, Graph activeGraph, DatasetGraph dataset, OpExecutorFactory factory)
-
-
Method Details
-
getContext
Description copied from interface:FunctionEnvReturn the context for this function call- Specified by:
getContextin interfaceFunctionEnv
-
getCancelSignal
-
openIterator
-
closedIterator
-
listOpenIterators
-
listAllIterators
-
getExecutor
-
setExecutor
Setter for the policy for algebra expression evaluation - use with care -
getDataset
Description copied from interface:FunctionEnvReturn the dataset for the query- Specified by:
getDatasetin interfaceFunctionEnv
-
getActiveGraph
Return the active graph (the one matching is against at this point in the query. May be null if unknown or not applicable - for example, doing quad store access or when sorting- Specified by:
getActiveGraphin interfaceFunctionEnv
-