java.lang.Object
org.apache.jena.sparql.engine.ExecutionContext
- All Implemented Interfaces:
FunctionEnv
-
Constructor Summary
ConstructorDescriptionExecutionContext
(DatasetGraph dataset) Deprecated, for removal: This API element is subject to removal in a future version.ExecutionContext
(DatasetGraph dataset, OpExecutorFactory factory) Deprecated, for removal: This API element is subject to removal in a future version.ExecutionContext
(ExecutionContext other) Deprecated.ExecutionContext
(ExecutionContext other, org.apache.jena.graph.Graph activeGraph) Deprecated.ExecutionContext
(Context params, org.apache.jena.graph.Graph activeGraph, DatasetGraph dataset, OpExecutorFactory factory) Deprecated.Use a "create" function where possible.ExecutionContext
(Context params, org.apache.jena.graph.Graph activeGraph, DatasetGraph dataset, OpExecutorFactory factory, AtomicBoolean cancelSignal) Deprecated.This will be changed to be private. -
Method Summary
Modifier and TypeMethodDescriptionvoid
closedIterator
(QueryIterator qIter) static ExecutionContext
copy
(ExecutionContext other) Clonestatic ExecutionContext
copyChangeActiveGraph
(ExecutionContext other, org.apache.jena.graph.Graph activeGraph) Clone and change active graph - shares trackingstatic ExecutionContext
create
(DatasetGraph dataset) ExecutionContext for normal execution over a dataset, with defaults forContext
andOpExecutorFactory
.static ExecutionContext
create
(DatasetGraph dataset, Context context) ExecutionContext for normal execution over a dataset, with defaults forContext
andOpExecutorFactory
.static ExecutionContext
createForGraph
(org.apache.jena.graph.Graph graph) ExecutionContext for normal execution over a graph, with defaults forContext
andOpExecutorFactory
.static ExecutionContext
createForGraph
(org.apache.jena.graph.Graph graph, Context cxt) ExecutionContext for normal execution over a graph.static ExecutionContext
fromFunctionEnv
(FunctionEnv functionEnv) Create ExecutionContext fromFunctionEnv
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
Deprecated. -
ExecutionContext
@Deprecated public ExecutionContext(ExecutionContext other, org.apache.jena.graph.Graph activeGraph) Deprecated.Clone and change active graph - shares tracking -
ExecutionContext
Deprecated, for removal: This API element is subject to removal in a future version.Setup with defaults of global settings -
ExecutionContext
@Deprecated(forRemoval=true) public ExecutionContext(DatasetGraph dataset, OpExecutorFactory factory) Deprecated, for removal: This API element is subject to removal in a future version.Setup with defaults of global settings but explicitOpExecutorFactory
. -
ExecutionContext
@Deprecated public ExecutionContext(Context params, org.apache.jena.graph.Graph activeGraph, DatasetGraph dataset, OpExecutorFactory factory) Deprecated.Use a "create" function where possible. -
ExecutionContext
@Deprecated public ExecutionContext(Context params, org.apache.jena.graph.Graph activeGraph, DatasetGraph dataset, OpExecutorFactory factory, AtomicBoolean cancelSignal) Deprecated.This will be changed to be private.
-
-
Method Details
-
copy
Clone -
fromFunctionEnv
Create ExecutionContext fromFunctionEnv
-
copyChangeActiveGraph
public static ExecutionContext copyChangeActiveGraph(ExecutionContext other, org.apache.jena.graph.Graph activeGraph) Clone and change active graph - shares tracking -
create
ExecutionContext for normal execution over a dataset, with defaults forContext
andOpExecutorFactory
. -
create
ExecutionContext for normal execution over a dataset, with defaults forContext
andOpExecutorFactory
. -
createForGraph
ExecutionContext for normal execution over a graph, with defaults forContext
andOpExecutorFactory
. -
createForGraph
ExecutionContext for normal execution over a graph. -
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
-
create(DatasetGraph)