java.lang.Object
org.seasar.doma.jdbc.query.QueryOperandPair
Represents a pair of query operands.
This class is used to associate two operands together, typically for operations that require comparing or mapping values between them, such as in UPDATE statements where columns are set to new values.
-
Constructor Summary
ConstructorsConstructorDescriptionQueryOperandPair(QueryOperand left, QueryOperand right) Constructs a newQueryOperandPairwith the specified operands. -
Method Summary
-
Constructor Details
-
QueryOperandPair
Constructs a newQueryOperandPairwith the specified operands.- Parameters:
left- the left operandright- the right operand- Throws:
NullPointerException- if either operand is null
-
-
Method Details
-
getLeft
Returns the left operand.- Returns:
- the left operand
-
getRight
Returns the right operand.- Returns:
- the right operand
-