Class IteratorStreamFunctionBase1
- java.lang.Object
-
- fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
-
- fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase1
-
- All Implemented Interfaces:
IteratorFunction
public abstract class IteratorStreamFunctionBase1 extends IteratorStreamFunctionBase
Support for a iterator function of one argument.
-
-
Field Summary
-
Fields inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
arguments
-
-
Constructor Summary
Constructors Constructor Description IteratorStreamFunctionBase1()
-
Method Summary
All Methods Instance Methods Abstract 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> args, Consumer<List<List<NodeValue>>> nodeValuesStream)
IteratorFunction call to a list of evaluated argument values.abstract void
exec(NodeValue v, Consumer<List<List<NodeValue>>> nodeValuesStream)
-
Methods inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
build, exec, getContext
-
-
-
-
Method Detail
-
checkBuild
public void checkBuild(ExprList args)
Partially checks if the iterator function can be executed with the given arguments.- Specified by:
checkBuild
in classIteratorStreamFunctionBase
- Parameters:
args
- -
-
exec
public final void exec(List<NodeValue> args, Consumer<List<List<NodeValue>>> nodeValuesStream)
IteratorFunction call to a list of evaluated argument values.- Specified by:
exec
in classIteratorStreamFunctionBase
- Parameters:
args
- -nodeValuesStream
- - where to emit collections of nodevalues
-
-