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.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.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)
Methods inherited from class org.apache.jena.sparql.function.FunctionBase3
checkBuild, exec
Methods inherited from class org.apache.jena.sparql.function.FunctionBase
build, evalArgs, exec
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.jena.sparql.function.Function
build
-
Field Details
-
URI
The SPARQL function URI.- See Also:
- Constant Field Values
-
-
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:
exec
in classorg.apache.jena.sparql.function.FunctionBase3
-