Module org.apache.jena.querybuilder
Class ExprRewriter
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
ConstructorDescriptionExprRewriter
(Map<org.apache.jena.sparql.core.Var, org.apache.jena.graph.Node> values) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionfinal 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)
-
Constructor Details
-
ExprRewriter
Constructor.- Parameters:
values
- the values to replace.
-
-
Method Details
-
visit
public void visit(org.apache.jena.sparql.expr.ExprFunction0 func) - Specified by:
visit
in interfaceorg.apache.jena.sparql.expr.ExprVisitor
-
visit
public void visit(org.apache.jena.sparql.expr.ExprFunction1 func) - Specified by:
visit
in interfaceorg.apache.jena.sparql.expr.ExprVisitor
-
visit
public void visit(org.apache.jena.sparql.expr.ExprFunction2 func) - Specified by:
visit
in interfaceorg.apache.jena.sparql.expr.ExprVisitor
-
visit
public void visit(org.apache.jena.sparql.expr.ExprFunction3 func) - Specified by:
visit
in interfaceorg.apache.jena.sparql.expr.ExprVisitor
-
visit
public void visit(org.apache.jena.sparql.expr.ExprFunctionN func) - Specified by:
visit
in interfaceorg.apache.jena.sparql.expr.ExprVisitor
-
visit
public void visit(org.apache.jena.sparql.expr.ExprFunctionOp funcOp) - Specified by:
visit
in interfaceorg.apache.jena.sparql.expr.ExprVisitor
-
visit
public void visit(org.apache.jena.sparql.expr.NodeValue nv) - Specified by:
visit
in interfaceorg.apache.jena.sparql.expr.ExprVisitor
-
visit
public void visit(org.apache.jena.sparql.expr.ExprNone none) - Specified by:
visit
in interfaceorg.apache.jena.sparql.expr.ExprVisitor
-
visit
public void visit(org.apache.jena.sparql.expr.ExprVar nv) - Specified by:
visit
in interfaceorg.apache.jena.sparql.expr.ExprVisitor
-
visit
public void visit(org.apache.jena.sparql.expr.ExprTripleTerm tripleTerm) - Specified by:
visit
in interfaceorg.apache.jena.sparql.expr.ExprVisitor
-
visit
public void visit(org.apache.jena.sparql.expr.ExprAggregator eAgg) - Specified by:
visit
in interfaceorg.apache.jena.sparql.expr.ExprVisitor
-
rewriteSortConditionList
-
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)
-