java.lang.Object
org.apache.jena.sparql.function.FunctionEnvBase
- All Implemented Interfaces:
FunctionEnv
Environment passed to functions -- see also
ExecutionContext
-
Constructor Summary
ConstructorDescriptionFunctionEnvBase
(ExecutionContext execCxt) FunctionEnvBase
(Context context) FunctionEnvBase
(Context context, org.apache.jena.graph.Graph activeGraph, DatasetGraph dataset) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.graph.Graph
Return 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 query
-
Constructor Details
-
FunctionEnvBase
public FunctionEnvBase() -
FunctionEnvBase
-
FunctionEnvBase
-
FunctionEnvBase
public FunctionEnvBase(Context context, org.apache.jena.graph.Graph activeGraph, DatasetGraph dataset)
-
-
Method Details
-
getActiveGraph
public org.apache.jena.graph.Graph getActiveGraph()Description copied from interface:FunctionEnv
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 interfaceFunctionEnv
-
getContext
Description copied from interface:FunctionEnv
Return the context for this function call- Specified by:
getContext
in interfaceFunctionEnv
-
getDataset
Description copied from interface:FunctionEnv
Return the dataset for the query- Specified by:
getDataset
in interfaceFunctionEnv
-