Class FUN_regex
java.lang.Object
org.apache.jena.sparql.function.FunctionBase
org.apache.jena.sparql.function.FunctionBase3
fr.mines_stetienne.ci.sparql_generate.function.library.FUN_regex
- All Implemented Interfaces:
org.apache.jena.sparql.function.Function
public final class FUN_regex
extends org.apache.jena.sparql.function.FunctionBase3
Binding function
fun:regex
returns the input subsequence captured by the ith group during a regex match
operation.
- Param 1 is the input string;
- Param 2 is a regular expression;
- Param 3 is the number of the group to capture;
- Result is a xsd:string.
- Author:
- Noorani Bakerally invalid input: '<'noorani.bakerally at emse.fr>, Maxime Lefrançois
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.sparql.expr.NodeValueexec(org.apache.jena.sparql.expr.NodeValue stringValue, org.apache.jena.sparql.expr.NodeValue regex, org.apache.jena.sparql.expr.NodeValue locationV) Methods inherited from class org.apache.jena.sparql.function.FunctionBase3
checkBuild, execMethods inherited from class org.apache.jena.sparql.function.FunctionBase
build, exec, exec
-
Field Details
-
URI
The SPARQL function URI.- See Also:
-
-
Constructor Details
-
FUN_regex
public FUN_regex()
-
-
Method Details
-
exec
public org.apache.jena.sparql.expr.NodeValue exec(org.apache.jena.sparql.expr.NodeValue stringValue, org.apache.jena.sparql.expr.NodeValue regex, org.apache.jena.sparql.expr.NodeValue locationV) - Specified by:
execin classorg.apache.jena.sparql.function.FunctionBase3
-