Package org.apache.jena.sparql.function
Class FunctionEnvBase
- java.lang.Object
-
- org.apache.jena.sparql.function.FunctionEnvBase
-
- All Implemented Interfaces:
FunctionEnv
public class FunctionEnvBase extends java.lang.Object implements FunctionEnv
Environment passed to functions -- see alsoExecutionContext
-
-
Constructor Summary
Constructors Constructor Description FunctionEnvBase()FunctionEnvBase(ExecutionContext execCxt)FunctionEnvBase(Context context)FunctionEnvBase(Context context, Graph activeGraph, DatasetGraph dataset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphgetActiveGraph()Return the active graph (the one matching is against at this point in the query.ContextgetContext()Return the context for this function callDatasetGraphgetDataset()Return the dataset for the query
-
-
-
Constructor Detail
-
FunctionEnvBase
public FunctionEnvBase()
-
FunctionEnvBase
public FunctionEnvBase(Context context)
-
FunctionEnvBase
public FunctionEnvBase(ExecutionContext execCxt)
-
FunctionEnvBase
public FunctionEnvBase(Context context, Graph activeGraph, DatasetGraph dataset)
-
-
Method Detail
-
getActiveGraph
public Graph getActiveGraph()
Description copied from interface:FunctionEnvReturn 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:
getActiveGraphin interfaceFunctionEnv
-
getContext
public Context getContext()
Description copied from interface:FunctionEnvReturn the context for this function call- Specified by:
getContextin interfaceFunctionEnv
-
getDataset
public DatasetGraph getDataset()
Description copied from interface:FunctionEnvReturn the dataset for the query- Specified by:
getDatasetin interfaceFunctionEnv
-
-