Enum Class BucketKeyDateFormatE

java.lang.Object
java.lang.Enum<BucketKeyDateFormatE>
de.elo.ix.client.esearch.aggregations.BucketKeyDateFormatE
All Implemented Interfaces:
Serializable, Comparable<BucketKeyDateFormatE>, Constable

public enum BucketKeyDateFormatE extends Enum<BucketKeyDateFormatE> implements Serializable
Date formats of the bucket key in return buckets of aggregations of type DATE_HISTOGRAM and DATE_RANGE.
Since:
21.03.000.004
  • Enum Constant Details

    • ELO_ISO_DATE_FORMAT_MILLIS

      public static final BucketKeyDateFormatE ELO_ISO_DATE_FORMAT_MILLIS
      Date format yyyyMMddHHmmssSSS with millis as default.
    • ELO_ISO_DATE_FORMAT_SECONDS

      public static final BucketKeyDateFormatE ELO_ISO_DATE_FORMAT_SECONDS
      Date format yyyyMMddHHmmss with seconds.
    • ELO_ISO_DATE_FORMAT_DAY

      public static final BucketKeyDateFormatE ELO_ISO_DATE_FORMAT_DAY
      Date format yyyyMMdd without time.
    • ELO_ISO_DATE_FORMAT_YEAR

      public static final BucketKeyDateFormatE ELO_ISO_DATE_FORMAT_YEAR
      Date format yyyy with only the year.
    • ELO_TSTAMP_FORMAT

      public static final BucketKeyDateFormatE ELO_TSTAMP_FORMAT
      Date format yyyy.MM.dd.HH.mm.ss as used in ELO tstamp fields.
  • Method Details

    • values

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