Class ExprTransformVirtuosoSubstr

java.lang.Object
org.apache.jena.sparql.expr.ExprTransformCopy
org.aksw.jena_sparql_api.algebra.expr.transform.ExprTransformVirtuosoSubstr
All Implemented Interfaces:
org.apache.jena.sparql.expr.ExprTransform

public class ExprTransformVirtuosoSubstr extends org.apache.jena.sparql.expr.ExprTransformCopy
Fixes substr(str, start, len) of virtuoso which raises an error if the requested substring is longer than the string. Note: This rewrite does not handle the cases where start < 1 or len < 0
  • Field Summary

    Fields inherited from class org.apache.jena.sparql.expr.ExprTransformCopy

    COPY_ALWAYS, COPY_ONLY_ON_CHANGE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.jena.sparql.expr.Expr
    transform(org.apache.jena.sparql.expr.ExprFunctionN func, org.apache.jena.sparql.expr.ExprList args)
     

    Methods inherited from class org.apache.jena.sparql.expr.ExprTransformCopy

    transform, transform, transform, transform, transform, transform, transform, transform, transform

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.jena.sparql.expr.ExprTransform

    transform
  • Constructor Details

    • ExprTransformVirtuosoSubstr

      public ExprTransformVirtuosoSubstr()
  • Method Details

    • transform

      public org.apache.jena.sparql.expr.Expr transform(org.apache.jena.sparql.expr.ExprFunctionN func, org.apache.jena.sparql.expr.ExprList args)
      Specified by:
      transform in interface org.apache.jena.sparql.expr.ExprTransform
      Overrides:
      transform in class org.apache.jena.sparql.expr.ExprTransformCopy