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
public class SPARQLExtIteratorFunction extends IteratorStreamFunctionBase
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
Constructors Constructor Description SPARQLExtIteratorFunction(SPARQLExtQuery select, Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkBuild(ExprList args)
Partially checks if the iterator function can be executed with the given arguments.void
exec(List<NodeValue> parameters, Consumer<List<List<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 Detail
-
SPARQLExtIteratorFunction
public SPARQLExtIteratorFunction(SPARQLExtQuery select, Context context)
-
-
Method Detail
-
exec
public void exec(List<NodeValue> parameters, Consumer<List<List<NodeValue>>> collectionListNodeValue)
Description copied from class:IteratorStreamFunctionBase
IteratorFunction call to a list of evaluated argument values.- Specified by:
exec
in classIteratorStreamFunctionBase
- Parameters:
parameters
- -collectionListNodeValue
- - where to emit collections of nodevalues
-
checkBuild
public void checkBuild(ExprList args)
Description copied from class:IteratorStreamFunctionBase
Partially checks if the iterator function can be executed with the given arguments.- Specified by:
checkBuild
in classIteratorStreamFunctionBase
- Parameters:
args
- -
-
-