Enum Class BucketKeyDateFormatE
- All Implemented Interfaces:
Serializable
,Comparable<BucketKeyDateFormatE>
,Constable
Date formats of the bucket key in return buckets of aggregations of type DATE_HISTOGRAM and
DATE_RANGE.
- Since:
- 21.03.000.004
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDate format yyyyMMdd without time.Date format yyyyMMddHHmmssSSS with millis as default.Date format yyyyMMddHHmmss with seconds.Date format yyyy with only the year.Date format yyyy.MM.dd.HH.mm.ss as used in ELO tstamp fields. -
Method Summary
Modifier and TypeMethodDescriptionstatic BucketKeyDateFormatE
Returns the enum constant of this class with the specified name.static BucketKeyDateFormatE[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ELO_ISO_DATE_FORMAT_MILLIS
Date format yyyyMMddHHmmssSSS with millis as default. -
ELO_ISO_DATE_FORMAT_SECONDS
Date format yyyyMMddHHmmss with seconds. -
ELO_ISO_DATE_FORMAT_DAY
Date format yyyyMMdd without time. -
ELO_ISO_DATE_FORMAT_YEAR
Date format yyyy with only the year. -
ELO_TSTAMP_FORMAT
Date format yyyy.MM.dd.HH.mm.ss as used in ELO tstamp fields.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-