Class IteratorStreamFunctionBase0
- java.lang.Object
-
- fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
-
- fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase0
-
- All Implemented Interfaces:
IteratorFunction
public abstract class IteratorStreamFunctionBase0 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 IteratorStreamFunctionBase0()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcheckBuild(ExprList args)Partially checks if the iterator function can be executed with the given arguments.abstract voidexec(Consumer<List<List<NodeValue>>> nodeValuesStream)voidexec(List<NodeValue> args, Consumer<List<List<NodeValue>>> nodeValuesStream)IteratorFunction call to a list of evaluated argument values.-
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:
checkBuildin 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:
execin classIteratorStreamFunctionBase- Parameters:
args- -nodeValuesStream- - where to emit collections of nodevalues
-
-