Class ExecutionContext

java.lang.Object
org.apache.jena.sparql.engine.ExecutionContext
All Implemented Interfaces:
FunctionEnv

public class ExecutionContext extends Object implements FunctionEnv
  • Constructor Details

    • ExecutionContext

      public ExecutionContext(ExecutionContext other)
      Clone
    • ExecutionContext

      public ExecutionContext(ExecutionContext other, org.apache.jena.graph.Graph activeGraph)
      Clone and change active graph - shares tracking
    • ExecutionContext

      public ExecutionContext(DatasetGraph dataset)
      Setup with defaults of global settings
    • ExecutionContext

      public ExecutionContext(DatasetGraph dataset, OpExecutorFactory factory)
      Setup with defaults of global settings but explicit OpExecutor factory.
    • ExecutionContext

      public ExecutionContext(Context params, org.apache.jena.graph.Graph activeGraph, DatasetGraph dataset, OpExecutorFactory factory)
  • Method Details

    • getContext

      public Context getContext()
      Description copied from interface: FunctionEnv
      Return the context for this function call
      Specified by:
      getContext in interface FunctionEnv
    • getCancelSignal

      public AtomicBoolean getCancelSignal()
    • openIterator

      public void openIterator(QueryIterator qIter)
    • closedIterator

      public void closedIterator(QueryIterator qIter)
    • listOpenIterators

      public Iterator<QueryIterator> listOpenIterators()
    • listAllIterators

      public Iterator<QueryIterator> listAllIterators()
    • getExecutor

      public OpExecutorFactory getExecutor()
    • setExecutor

      public void setExecutor(OpExecutorFactory executor)
      Setter for the policy for algebra expression evaluation - use with care
    • getDataset

      public DatasetGraph getDataset()
      Description copied from interface: FunctionEnv
      Return the dataset for the query
      Specified by:
      getDataset in interface FunctionEnv
    • 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 interface FunctionEnv