java.lang.Object
org.apache.jena.sparql.engine.ExecutionContext
- All Implemented Interfaces:
FunctionEnv
-
Constructor Summary
ConstructorDescriptionExecutionContext
(DatasetGraph dataset) Setup with defaults of global settingsExecutionContext
(DatasetGraph dataset, OpExecutorFactory factory) Setup with defaults of global settings but explicitOpExecutor
factory.ExecutionContext
(ExecutionContext other) CloneExecutionContext
(ExecutionContext other, org.apache.jena.graph.Graph activeGraph) Clone and change active graph - shares trackingExecutionContext
(Context params, org.apache.jena.graph.Graph activeGraph, DatasetGraph dataset, OpExecutorFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
closedIterator
(QueryIterator qIter) org.apache.jena.graph.Graph
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 queryvoid
openIterator
(QueryIterator qIter) void
setExecutor
(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 explicitOpExecutor
factory. -
ExecutionContext
public ExecutionContext(Context params, org.apache.jena.graph.Graph activeGraph, DatasetGraph dataset, OpExecutorFactory factory)
-
-
Method Details
-
getContext
Description copied from interface:FunctionEnv
Return the context for this function call- Specified by:
getContext
in interfaceFunctionEnv
-
getCancelSignal
-
openIterator
-
closedIterator
-
listOpenIterators
-
listAllIterators
-
getExecutor
-
setExecutor
Setter for the policy for algebra expression evaluation - use with care -
getDataset
Description copied from interface:FunctionEnv
Return the dataset for the query- Specified by:
getDataset
in interfaceFunctionEnv
-
getActiveGraph
public org.apache.jena.graph.Graph 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:
getActiveGraph
in interfaceFunctionEnv
-