Package org.apache.pinot.spi.data
Enum DateTimeFieldSpec.TimeFormat
- java.lang.Object
-
- java.lang.Enum<DateTimeFieldSpec.TimeFormat>
-
- org.apache.pinot.spi.data.DateTimeFieldSpec.TimeFormat
-
- All Implemented Interfaces:
Serializable,Comparable<DateTimeFieldSpec.TimeFormat>,java.lang.constant.Constable
- Enclosing class:
- DateTimeFieldSpec
public static enum DateTimeFieldSpec.TimeFormat extends Enum<DateTimeFieldSpec.TimeFormat>
-
-
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 EPOCHSIMPLE_DATE_FORMATTIMESTAMP
-
Method Summary
Modifier and Type Method Description static DateTimeFieldSpec.TimeFormatvalueOf(String name)Returns the enum constant of this type with the specified name.static DateTimeFieldSpec.TimeFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EPOCH
public static final DateTimeFieldSpec.TimeFormat EPOCH
-
TIMESTAMP
public static final DateTimeFieldSpec.TimeFormat TIMESTAMP
-
SIMPLE_DATE_FORMAT
public static final DateTimeFieldSpec.TimeFormat SIMPLE_DATE_FORMAT
-
-
Method Detail
-
values
public static DateTimeFieldSpec.TimeFormat[] values()
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 DateTimeFieldSpec.TimeFormat valueOf(String name)
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 nameNullPointerException- if the argument is null
-
-