com.hp.hpl.jena.sparql.engine
Class ExecutionContext

java.lang.Object
  extended by com.hp.hpl.jena.sparql.engine.ExecutionContext
All Implemented Interfaces:
FunctionEnv

public class ExecutionContext
extends Object
implements FunctionEnv


Constructor Summary
ExecutionContext(Context params, com.hp.hpl.jena.graph.Graph activeGraph, DatasetGraph dataset, OpExecutorFactory factory)
           
ExecutionContext(ExecutionContext other)
          Clone
ExecutionContext(ExecutionContext other, com.hp.hpl.jena.graph.Graph activeGraph)
          Clone and change active graph - shares tracking
 
Method Summary
 void closedIterator(QueryIterator qIter)
           
 com.hp.hpl.jena.graph.Graph getActiveGraph()
          Return the active graph (the one matching is against at this point in the query.
 Context getContext()
          Return the context for this function call
 DatasetGraph getDataset()
          Return the dataset for the query
 OpExecutorFactory getExecutor()
           
 Iterator<QueryIterator> listAllIterators()
           
 Iterator<QueryIterator> listOpenIterators()
           
 void openIterator(QueryIterator qIter)
           
 void setExecutor(OpExecutorFactory executor)
          Setter for the policy for algebra expression evaluation - use with care
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionContext

public ExecutionContext(ExecutionContext other)
Clone


ExecutionContext

public ExecutionContext(ExecutionContext other,
                        com.hp.hpl.jena.graph.Graph activeGraph)
Clone and change active graph - shares tracking


ExecutionContext

public ExecutionContext(Context params,
                        com.hp.hpl.jena.graph.Graph activeGraph,
                        DatasetGraph dataset,
                        OpExecutorFactory factory)
Method Detail

getContext

public Context getContext()
Description copied from interface: FunctionEnv
Return the context for this function call

Specified by:
getContext in interface FunctionEnv

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 com.hp.hpl.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


Licenced under the Apache License, Version 2.0