Enum Class DerivedColumnAliasing

java.lang.Object
java.lang.Enum<DerivedColumnAliasing>
org.hibernate.dialect.sql.ast.spi.DerivedColumnAliasing
All Implemented Interfaces:
Serializable, Comparable<DerivedColumnAliasing>, Constable

public enum DerivedColumnAliasing extends Enum<DerivedColumnAliasing>
Selects where a derived table's column aliases are rendered.
Since:
8.0
  • Enum Constant Details

    • DECLARATION

      public static final DerivedColumnAliasing DECLARATION
      Render the column list after the identification variable.
    • SELECT_LIST

      public static final DerivedColumnAliasing SELECT_LIST
      Render aliases in the derived select list and only the identification variable outside it.
    • IDENTIFICATION_VARIABLE_ONLY

      public static final DerivedColumnAliasing IDENTIFICATION_VARIABLE_ONLY
      Render only the identification variable.
  • Method Details

    • values

      public static DerivedColumnAliasing[] 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 DerivedColumnAliasing 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