Enum Class Join.JoinType

java.lang.Object
java.lang.Enum<Join.JoinType>
org.springframework.data.relational.core.sql.Join.JoinType
All Implemented Interfaces:
Serializable, Comparable<Join.JoinType>, Constable
Enclosing class:
Join

public static enum Join.JoinType extends Enum<Join.JoinType>
  • Enum Constant Details

    • JOIN

      public static final Join.JoinType JOIN
      INNER JOIN for two tables.
    • CROSS_JOIN

      public static final Join.JoinType CROSS_JOIN
      CROSS JOIN for two tables.
    • LEFT_OUTER_JOIN

      public static final Join.JoinType LEFT_OUTER_JOIN
      LEFT OUTER JOIN two tables.
    • RIGHT_OUTER_JOIN

      public static final Join.JoinType RIGHT_OUTER_JOIN
      RIGHT OUTER JOIN two tables.
    • FULL_OUTER_JOIN

      public static final Join.JoinType FULL_OUTER_JOIN
      FULL OUTER JOIN two tables.
  • Method Details

    • values

      public static Join.JoinType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Join.JoinType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getSql

      public String getSql()