java.lang.Object
org.apache.jena.sparql.engine.ExecutionContext
- All Implemented Interfaces:
FunctionEnv
-
Constructor Summary
ConstructorsConstructorDescriptionExecutionContext(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 TypeMethodDescriptionvoidclosedIterator(QueryIterator qIter) static ExecutionContextcopy(ExecutionContext other) Clonestatic ExecutionContextcopyChangeActiveGraph(ExecutionContext other, org.apache.jena.graph.Graph activeGraph) Clone and change active graph - shares trackingstatic ExecutionContextcreate(DatasetGraph dataset) ExecutionContext for normal execution over a dataset, with defaults forContextandOpExecutorFactory.static ExecutionContextcreate(DatasetGraph dataset, org.apache.jena.graph.Graph activeGraph) ExecutionContext for normal execution over a dataset, with defaults forContextandOpExecutorFactory.static ExecutionContextcreate(DatasetGraph dataset, org.apache.jena.graph.Graph activeGraph, Context context) ExecutionContext for normal execution over a dataset.static ExecutionContextcreate(DatasetGraph dataset, Context context) ExecutionContext for normal execution over a dataset, with default forOpExecutorFactory.static ExecutionContextExecutionContext for execution without a dataset, with default forOpExecutorFactory.static ExecutionContextcreateForGraph(org.apache.jena.graph.Graph graph) ExecutionContext for normal execution over a graph, with defaults forContextandOpExecutorFactory.static ExecutionContextcreateForGraph(org.apache.jena.graph.Graph graph, Context cxt) ExecutionContext for normal execution over a graph.static ExecutionContextfromFunctionEnv(FunctionEnv functionEnv) Create ExecutionContext fromFunctionEnvorg.apache.jena.graph.GraphReturn 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
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 forContextandOpExecutorFactory. -
create
ExecutionContext for normal execution over a dataset, with default forOpExecutorFactory. -
create
ExecutionContext for execution without a dataset, with default forOpExecutorFactory. -
create
public static ExecutionContext create(DatasetGraph dataset, org.apache.jena.graph.Graph activeGraph) ExecutionContext for normal execution over a dataset, with defaults forContextandOpExecutorFactory. -
create
public static ExecutionContext create(DatasetGraph dataset, org.apache.jena.graph.Graph activeGraph, Context context) ExecutionContext for normal execution over a dataset. -
createForGraph
ExecutionContext for normal execution over a graph, with defaults forContextandOpExecutorFactory. -
createForGraph
ExecutionContext for normal execution over a graph. -
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
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:
getActiveGraphin interfaceFunctionEnv
-
create(DatasetGraph)