java.lang.Object
org.apache.jena.arq.querybuilder.rewriters.AbstractRewriter<org.apache.jena.sparql.expr.Expr>
org.apache.jena.arq.querybuilder.rewriters.ExprRewriter
All Implemented Interfaces:
org.apache.jena.sparql.expr.ExprVisitor

public class ExprRewriter extends AbstractRewriter<org.apache.jena.sparql.expr.Expr> implements org.apache.jena.sparql.expr.ExprVisitor
A rewriter that implements an ExprVisitor
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExprRewriter(Map<org.apache.jena.sparql.core.Var,org.apache.jena.graph.Node> values)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    final org.apache.jena.query.SortCondition
    rewrite(org.apache.jena.query.SortCondition sortCondition)
     
    final org.apache.jena.sparql.expr.ExprList
    rewrite(org.apache.jena.sparql.expr.ExprList lst)
     
    final List<org.apache.jena.query.SortCondition>
    rewriteSortConditionList(List<org.apache.jena.query.SortCondition> lst)
     
    void
    visit(org.apache.jena.sparql.expr.ExprAggregator eAgg)
     
    void
    visit(org.apache.jena.sparql.expr.ExprFunction0 func)
     
    void
    visit(org.apache.jena.sparql.expr.ExprFunction1 func)
     
    void
    visit(org.apache.jena.sparql.expr.ExprFunction2 func)
     
    void
    visit(org.apache.jena.sparql.expr.ExprFunction3 func)
     
    void
    visit(org.apache.jena.sparql.expr.ExprFunctionN func)
     
    void
    visit(org.apache.jena.sparql.expr.ExprFunctionOp funcOp)
     
    void
    visit(org.apache.jena.sparql.expr.ExprNone none)
     
    void
    visit(org.apache.jena.sparql.expr.ExprTripleTerm tripleTerm)
     
    void
    visit(org.apache.jena.sparql.expr.ExprVar nv)
     
    void
    visit(org.apache.jena.sparql.expr.NodeValue nv)
     

    Methods inherited from class org.apache.jena.arq.querybuilder.rewriters.AbstractRewriter

    getResult, rewrite, rewrite, rewrite, rewrite

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExprRewriter

      public ExprRewriter(Map<org.apache.jena.sparql.core.Var,org.apache.jena.graph.Node> values)
      Constructor.
      Parameters:
      values - the values to replace.
  • Method Details

    • visit

      public void visit(org.apache.jena.sparql.expr.ExprFunction0 func)
      Specified by:
      visit in interface org.apache.jena.sparql.expr.ExprVisitor
    • visit

      public void visit(org.apache.jena.sparql.expr.ExprFunction1 func)
      Specified by:
      visit in interface org.apache.jena.sparql.expr.ExprVisitor
    • visit

      public void visit(org.apache.jena.sparql.expr.ExprFunction2 func)
      Specified by:
      visit in interface org.apache.jena.sparql.expr.ExprVisitor
    • visit

      public void visit(org.apache.jena.sparql.expr.ExprFunction3 func)
      Specified by:
      visit in interface org.apache.jena.sparql.expr.ExprVisitor
    • visit

      public void visit(org.apache.jena.sparql.expr.ExprFunctionN func)
      Specified by:
      visit in interface org.apache.jena.sparql.expr.ExprVisitor
    • visit

      public void visit(org.apache.jena.sparql.expr.ExprFunctionOp funcOp)
      Specified by:
      visit in interface org.apache.jena.sparql.expr.ExprVisitor
    • visit

      public void visit(org.apache.jena.sparql.expr.NodeValue nv)
      Specified by:
      visit in interface org.apache.jena.sparql.expr.ExprVisitor
    • visit

      public void visit(org.apache.jena.sparql.expr.ExprNone none)
      Specified by:
      visit in interface org.apache.jena.sparql.expr.ExprVisitor
    • visit

      public void visit(org.apache.jena.sparql.expr.ExprVar nv)
      Specified by:
      visit in interface org.apache.jena.sparql.expr.ExprVisitor
    • visit

      public void visit(org.apache.jena.sparql.expr.ExprTripleTerm tripleTerm)
      Specified by:
      visit in interface org.apache.jena.sparql.expr.ExprVisitor
    • visit

      public void visit(org.apache.jena.sparql.expr.ExprAggregator eAgg)
      Specified by:
      visit in interface org.apache.jena.sparql.expr.ExprVisitor
    • rewriteSortConditionList

      public final List<org.apache.jena.query.SortCondition> rewriteSortConditionList(List<org.apache.jena.query.SortCondition> lst)
    • rewrite

      public final org.apache.jena.query.SortCondition rewrite(org.apache.jena.query.SortCondition sortCondition)
    • rewrite

      public final org.apache.jena.sparql.expr.ExprList rewrite(org.apache.jena.sparql.expr.ExprList lst)