Interface Predicate.JoinPredicate

All Superinterfaces:
Predicate
All Known Implementing Classes:
Predicate.JoinColumnEqualsPredicate
Enclosing interface:
Predicate

public static non-sealed interface Predicate.JoinPredicate extends Predicate
Predicate variant for join conditions that need access to both source rows.
  • Method Details

    • matches

      boolean matches(SqlRow leftRow, SqlRow rightRow)
      Tests whether the given pair of rows matches this join predicate.
      Parameters:
      leftRow - the left-hand side row
      rightRow - the right-hand side row
      Returns:
      true if the row pair matches, false otherwise
    • matches

      default boolean matches(SqlRow row)
      Description copied from interface: Predicate
      Tests whether the given row matches this predicate.
      Specified by:
      matches in interface Predicate
      Parameters:
      row - the row to test
      Returns:
      true if the row matches, false otherwise