Enum Resolution

java.lang.Object
java.lang.Enum<Resolution>
org.hibernate.search.annotations.Resolution
All Implemented Interfaces:
Serializable, Comparable<Resolution>

@Deprecated public enum Resolution extends Enum<Resolution>
Deprecated.
DateBridge/CalendarBridge are no longer available in Hibernate Search 6. See the javadoc of DateBridge or CalendarBridge.
Date indexing resolution.
Author:
Emmanuel Bernard
  • Enum Constant Details

    • YEAR

      public static final Resolution YEAR
      Deprecated.
    • MONTH

      public static final Resolution MONTH
      Deprecated.
    • DAY

      public static final Resolution DAY
      Deprecated.
    • HOUR

      public static final Resolution HOUR
      Deprecated.
    • MINUTE

      public static final Resolution MINUTE
      Deprecated.
    • SECOND

      public static final Resolution SECOND
      Deprecated.
    • MILLISECOND

      public static final Resolution MILLISECOND
      Deprecated.
  • Method Details

    • values

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

      public static Resolution valueOf(String name)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null