Class IteratorStreamFunctionBase2
- java.lang.Object
-
- fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
-
- fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase2
-
- All Implemented Interfaces:
IteratorFunction
- Direct Known Subclasses:
ITER_SQL
public abstract class IteratorStreamFunctionBase2 extends IteratorStreamFunctionBase
Support for a iterator function of two arguments.
-
-
Field Summary
-
Fields inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
arguments
-
-
Constructor Summary
Constructors Constructor Description IteratorStreamFunctionBase2()
-
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 v1, NodeValue v2, 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
-
-