public abstract class BinaryOperator extends Expression
| Modifier and Type | Field and Description |
|---|---|
protected Expression |
expr1 |
protected Expression |
expr2 |
protected String |
operator |
FALSE, TRUE| Modifier | Constructor and Description |
|---|---|
protected |
BinaryOperator(Expression expr1,
Expression expr2,
String operator) |
| Modifier and Type | Method and Description |
|---|---|
Set<Attribute> |
attributes() |
boolean |
equals(Object other) |
int |
hashCode() |
boolean |
isFalse() |
boolean |
isTrue() |
String |
toSQL(ConnectedDB database,
AliasMap aliases) |
String |
toString() |
and, or, renameAttributesprotected final Expression expr1
protected final Expression expr2
protected final String operator
protected BinaryOperator(Expression expr1, Expression expr2, String operator)
public Set<Attribute> attributes()
attributes in class Expressionpublic boolean isFalse()
isFalse in class Expressionpublic boolean isTrue()
isTrue in class Expressionpublic String toSQL(ConnectedDB database, AliasMap aliases)
toSQL in class Expression