Class FUN_SplitAtPostion

java.lang.Object
org.apache.jena.sparql.function.FunctionBase
org.apache.jena.sparql.function.FunctionBase3
fr.mines_stetienne.ci.sparql_generate.function.library.FUN_SplitAtPostion
All Implemented Interfaces:
org.apache.jena.sparql.function.Function

public class FUN_SplitAtPostion extends org.apache.jena.sparql.function.FunctionBase3
Binding function fun:SplitAtPosition splits the input string around matches of the given regular expression, and returns the ith element in the array.
  • Param 1 is the input string;
  • Param 2 is a regular expression;
  • Param 3 is the number of substring to return;
  • 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 string, org.apache.jena.sparql.expr.NodeValue regex, org.apache.jena.sparql.expr.NodeValue position)
     

    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_SplitAtPostion

      public FUN_SplitAtPostion()
  • Method Details

    • exec

      public org.apache.jena.sparql.expr.NodeValue exec(org.apache.jena.sparql.expr.NodeValue string, org.apache.jena.sparql.expr.NodeValue regex, org.apache.jena.sparql.expr.NodeValue position)
      Specified by:
      exec in class org.apache.jena.sparql.function.FunctionBase3