Class ITER_Split
- java.lang.Object
-
- fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
-
- fr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunctionBase
-
- fr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunctionBase2
-
- fr.mines_stetienne.ci.sparql_generate.iterator.library.ITER_Split
-
- All Implemented Interfaces:
IteratorFunction
public class ITER_Split extends IteratorFunctionBase2
Iterator function iter:Split iterates over the array of strings resulting from spliting the input string around matches of the given regular expression.- Param 1: (input) is the input string;
- Param 2: (regex) is a regular expression;
- Author:
- Noorani Bakerally
-
-
Field Summary
Fields Modifier and Type Field Description static String
URI
-
Fields inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
arguments
-
-
Constructor Summary
Constructors Constructor Description ITER_Split()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<List<NodeValue>>
exec(NodeValue stringValue, NodeValue delimeterValue)
-
Methods inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunctionBase2
checkBuild, exec
-
Methods inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunctionBase
exec
-
Methods inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
build, exec, getContext
-
-
-
-
Field Detail
-
URI
public static final String URI
- See Also:
- Constant Field Values
-
-
Method Detail
-
exec
public List<List<NodeValue>> exec(NodeValue stringValue, NodeValue delimeterValue)
Description copied from class:IteratorFunctionBase2
- Specified by:
exec
in classIteratorFunctionBase2
- Parameters:
stringValue
- a RDF Literal with datatypexsd:string
representing the source stringdelimeterValue
- a RDF Literal with datatypexsd:string
representing the delimeter which can be regular expression- Returns:
- a list of RDF Literal with datatype
xsd:string
-
-