com.hp.hpl.jena.sparql.algebra
Class OpAsQuery.SubExprForVar

java.lang.Object
  extended by com.hp.hpl.jena.sparql.expr.ExprTransformCopy
      extended by com.hp.hpl.jena.sparql.algebra.OpAsQuery.SubExprForVar
All Implemented Interfaces:
ExprTransform
Enclosing class:
OpAsQuery

public static class OpAsQuery.SubExprForVar
extends ExprTransformCopy

This class is used to take substitute an expressions for variables in another expression. It is used to stick grouping expressions back together.


Field Summary
 
Fields inherited from class com.hp.hpl.jena.sparql.expr.ExprTransformCopy
COPY_ALWAYS, COPY_ONLY_ON_CHANGE
 
Constructor Summary
OpAsQuery.SubExprForVar(Map<Var,Expr> varExpr)
           
 
Method Summary
 boolean didChange()
           
 Expr transform(ExprVar var)
           
 
Methods inherited from class com.hp.hpl.jena.sparql.expr.ExprTransformCopy
transform, transform, transform, transform, transform, transform, transform, transform
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpAsQuery.SubExprForVar

public OpAsQuery.SubExprForVar(Map<Var,Expr> varExpr)
Method Detail

didChange

public boolean didChange()

transform

public Expr transform(ExprVar var)
Specified by:
transform in interface ExprTransform
Overrides:
transform in class ExprTransformCopy


Licenced under the Apache License, Version 2.0