public class FunctionEnvBase extends Object implements FunctionEnv
ExecutionContext
Constructor and Description |
---|
FunctionEnvBase() |
FunctionEnvBase(Context context) |
FunctionEnvBase(Context context,
Graph activeGraph,
DatasetGraph dataset) |
FunctionEnvBase(ExecutionContext execCxt) |
Modifier and Type | Method and Description |
---|---|
static FunctionEnv |
createTest()
Create an execution environment suitable for testing functions and expressions
|
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
|
public FunctionEnvBase()
public FunctionEnvBase(Context context)
public FunctionEnvBase(ExecutionContext execCxt)
public FunctionEnvBase(Context context, Graph activeGraph, DatasetGraph dataset)
public static FunctionEnv createTest()
public Graph getActiveGraph()
FunctionEnv
getActiveGraph
in interface FunctionEnv
public Context getContext()
FunctionEnv
getContext
in interface FunctionEnv
public DatasetGraph getDataset()
FunctionEnv
getDataset
in interface FunctionEnv
Licenced under the Apache License, Version 2.0