Class AbstractNativeMultiFunction
- java.lang.Object
-
- org.topbraid.shacl.multifunctions.AbstractMultiFunction
-
- org.topbraid.shacl.multifunctions.AbstractNativeMultiFunction
-
- All Implemented Interfaces:
MultiFunction
- Direct Known Subclasses:
AbstractMultiFunction1
public abstract class AbstractNativeMultiFunction extends AbstractMultiFunction
Base class for all natively (Java) implemented MultiFunctions. They are initialized without the metadata (parameter declarations etc) but that will be added once the corresponding .api. file will be reached.- Author:
- Holger Knublauch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.apache.jena.sparql.engine.QueryIteratordoExecute(List<org.apache.jena.graph.Node> args, org.apache.jena.graph.Graph activeGraph, org.apache.jena.sparql.core.DatasetGraph dataset)org.apache.jena.sparql.engine.QueryIteratorexecute(List<org.apache.jena.graph.Node> args, org.apache.jena.graph.Graph activeGraph, org.apache.jena.sparql.core.DatasetGraph dataset)Executes the multi-function for a given list of arguments.-
Methods inherited from class org.topbraid.shacl.multifunctions.AbstractMultiFunction
getAPIStatus, getDescription, getParameters, getResultVars, getURI, initFrom
-
-
-
-
Method Detail
-
execute
public org.apache.jena.sparql.engine.QueryIterator execute(List<org.apache.jena.graph.Node> args, org.apache.jena.graph.Graph activeGraph, org.apache.jena.sparql.core.DatasetGraph dataset)
Description copied from interface:MultiFunctionExecutes the multi-function for a given list of arguments.- Parameters:
args- the argument values, matching the declared parameters from left to rightactiveGraph- the currently active query graphdataset- the DatasetGraph to operate on- Returns:
- a QueryIterator with name-value pairs
-
doExecute
protected abstract org.apache.jena.sparql.engine.QueryIterator doExecute(List<org.apache.jena.graph.Node> args, org.apache.jena.graph.Graph activeGraph, org.apache.jena.sparql.core.DatasetGraph dataset)
-
-