Package hydra.pg.query
Class BinaryExpression
- java.lang.Object
-
- hydra.pg.query.BinaryExpression
-
- All Implemented Interfaces:
java.io.Serializable
public class BinaryExpression extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Name
FIELD_NAME_LEFT
static Name
FIELD_NAME_OPERATOR
static Name
FIELD_NAME_RIGHT
Expression
left
BinaryOperator
operator
Expression
right
static Name
TYPE_NAME
-
Constructor Summary
Constructors Constructor Description BinaryExpression(Expression left, BinaryOperator operator, Expression right)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
BinaryExpression
withLeft(Expression left)
BinaryExpression
withOperator(BinaryOperator operator)
BinaryExpression
withRight(Expression right)
-
-
-
Field Detail
-
TYPE_NAME
public static final Name TYPE_NAME
-
FIELD_NAME_LEFT
public static final Name FIELD_NAME_LEFT
-
FIELD_NAME_OPERATOR
public static final Name FIELD_NAME_OPERATOR
-
FIELD_NAME_RIGHT
public static final Name FIELD_NAME_RIGHT
-
left
public final Expression left
-
operator
public final BinaryOperator operator
-
right
public final Expression right
-
-
Constructor Detail
-
BinaryExpression
public BinaryExpression(Expression left, BinaryOperator operator, Expression right)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
withLeft
public BinaryExpression withLeft(Expression left)
-
withOperator
public BinaryExpression withOperator(BinaryOperator operator)
-
withRight
public BinaryExpression withRight(Expression right)
-
-