public class RelOpExpression extends Object implements Expression
Constructor and Description |
---|
RelOpExpression(String relop,
String lhs,
Expression literal) |
Modifier and Type | Method and Description |
---|---|
String |
evaluate()
Defines how to turn this Expression into a String-readable query to an
underlying SQL database.
|
String |
getLhs() |
Expression |
getLiteral() |
void |
setLhs(String lhs) |
void |
setLiteral(Expression literal) |
public RelOpExpression(String relop, String lhs, Expression literal)
public String evaluate()
Expression
evaluate
in interface Expression
public String getLhs()
public void setLhs(String lhs)
lhs
- the lhs to setpublic Expression getLiteral()
public void setLiteral(Expression literal)
literal
- the literal to setCopyright © 1999-2014 Apache OODT. All Rights Reserved.