Class SPARQLExtIteratorFunction
java.lang.Object
fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
fr.mines_stetienne.ci.sparql_generate.iterator.SPARQLExtIteratorFunction
- All Implemented Interfaces:
IteratorFunction
Iterator function iter:call-select takes
as input a IRI to a SPARQL-Select document, runs it on the current Dataset,
and binds the given variables to the output of the select query, in order.
- Param 1: (select) is the IRI to a SPARQL-Select document
- Author:
- Maxime Lefrançois
-
Field Summary
Fields inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
arguments -
Constructor Summary
ConstructorsConstructorDescriptionSPARQLExtIteratorFunction(SPARQLExtQuery select, org.apache.jena.sparql.util.Context context) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckBuild(org.apache.jena.sparql.expr.ExprList args) Partially checks if the iterator function can be executed with the given arguments.voidexec(List<org.apache.jena.sparql.expr.NodeValue> parameters, Consumer<List<List<org.apache.jena.sparql.expr.NodeValue>>> collectionListNodeValue) IteratorFunction call to a list of evaluated argument values.Methods inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
build, exec, getContext
-
Constructor Details
-
SPARQLExtIteratorFunction
public SPARQLExtIteratorFunction(SPARQLExtQuery select, org.apache.jena.sparql.util.Context context)
-
-
Method Details
-
exec
public void exec(List<org.apache.jena.sparql.expr.NodeValue> parameters, Consumer<List<List<org.apache.jena.sparql.expr.NodeValue>>> collectionListNodeValue) Description copied from class:IteratorStreamFunctionBaseIteratorFunction call to a list of evaluated argument values.- Specified by:
execin classIteratorStreamFunctionBase- Parameters:
parameters- -collectionListNodeValue- - where to emit collections of nodevalues
-
checkBuild
public void checkBuild(org.apache.jena.sparql.expr.ExprList args) Description copied from class:IteratorStreamFunctionBasePartially checks if the iterator function can be executed with the given arguments.- Specified by:
checkBuildin classIteratorStreamFunctionBase- Parameters:
args- -
-