com.hp.hpl.jena.sparql.engine
Class VarRename
java.lang.Object
com.hp.hpl.jena.sparql.engine.VarRename
public class VarRename
- extends java.lang.Object
|
Method Summary |
static ExprList |
rename(ExprList exprList,
java.util.Set<Var> constants)
Rename all variables in an expression, EXCEPT for those named as constant |
static Expr |
rename(Expr expr,
java.util.Set<Var> constants)
|
static Op |
rename(Op op,
java.util.Collection<Var> constants)
Rename all variables in a pattern, EXCEPT for those named as constant |
static Op |
reverseRename(Op op,
boolean repeatedly)
Undo the effect of the rename operation, once or repeatedly. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VarRename
public VarRename()
rename
public static Op rename(Op op,
java.util.Collection<Var> constants)
- Rename all variables in a pattern, EXCEPT for those named as constant
rename
public static ExprList rename(ExprList exprList,
java.util.Set<Var> constants)
- Rename all variables in an expression, EXCEPT for those named as constant
rename
public static Expr rename(Expr expr,
java.util.Set<Var> constants)
reverseRename
public static Op reverseRename(Op op,
boolean repeatedly)
- Undo the effect of the rename operation, once or repeatedly.
This assumes the op was renamed by VarRename.rename
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.