Class QueryOperandPair

java.lang.Object
org.seasar.doma.jdbc.query.QueryOperandPair

public class QueryOperandPair extends Object
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 Details

    • QueryOperandPair

      public QueryOperandPair(QueryOperand left, QueryOperand right)
      Constructs a new QueryOperandPair with the specified operands.
      Parameters:
      left - the left operand
      right - the right operand
      Throws:
      NullPointerException - if either operand is null
  • Method Details

    • getLeft

      public QueryOperand getLeft()
      Returns the left operand.
      Returns:
      the left operand
    • getRight

      public QueryOperand getRight()
      Returns the right operand.
      Returns:
      the right operand