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

    Fields
    Modifier and Type
    Field
    Description
    static String
    The SPARQL function URI.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     

    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

  • 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 class org.apache.jena.sparql.function.FunctionBase3