public class ExecutionContext extends Object implements FunctionEnv
Constructor and Description |
---|
ExecutionContext(Context params,
Graph activeGraph,
DatasetGraph dataset,
OpExecutorFactory factory) |
ExecutionContext(ExecutionContext other)
Clone
|
ExecutionContext(ExecutionContext other,
Graph activeGraph)
Clone and change active graph - shares tracking
|
Modifier and Type | Method and Description |
---|---|
void |
closedIterator(QueryIterator qIter) |
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
|
public ExecutionContext(ExecutionContext other)
public ExecutionContext(ExecutionContext other, Graph activeGraph)
public ExecutionContext(Context params, Graph activeGraph, DatasetGraph dataset, OpExecutorFactory factory)
public Context getContext()
FunctionEnv
getContext
in interface FunctionEnv
public void openIterator(QueryIterator qIter)
public void closedIterator(QueryIterator qIter)
public Iterator<QueryIterator> listOpenIterators()
public Iterator<QueryIterator> listAllIterators()
public OpExecutorFactory getExecutor()
public void setExecutor(OpExecutorFactory executor)
public DatasetGraph getDataset()
FunctionEnv
getDataset
in interface FunctionEnv
public Graph getActiveGraph()
getActiveGraph
in interface FunctionEnv
Licenced under the Apache License, Version 2.0