Enum Class SelectItemReferenceStrategy

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

@SPI({USE,SUPPLY}) public enum SelectItemReferenceStrategy extends Enum<SelectItemReferenceStrategy>

How a SQL AST translator refers to a select item from a group by clause.

Supply the least database-specific form which preserves the rendered select semantics. The translator defaults to repeating the expression.

See Also:
  • Enum Constant Details

  • Method Details

    • values

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