Enum Class IntervalType

java.lang.Object
java.lang.Enum<IntervalType>
org.hibernate.query.sqm.IntervalType
All Implemented Interfaces:
Serializable, Comparable<IntervalType>, Constable

@Deprecated(since="7", forRemoval=true) public enum IntervalType extends Enum<IntervalType>
Deprecated, for removal: This API element is subject to removal in a future version.
This enum still has exactly one member, and was placed in a package from which it has no usages. It will be removed or moved.
The different types of intervals that SQL defines.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    A second based interval.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the enum constant of this class with the specified name.
    static IntervalType[]
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • SECOND

      public static final IntervalType SECOND
      Deprecated, for removal: This API element is subject to removal in a future version.
      A second based interval.
  • Method Details

    • values

      public static IntervalType[] values()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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 IntervalType valueOf(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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