public enum PostgresExtractField extends Enum<PostgresExtractField>
Enum Constant and Description |
---|
CENTURY |
DAY |
DECADE |
DOW |
DOY |
EPOCH |
HOUR |
ISODOW |
ISOYEAR |
MICROSECONDS |
MILLENNIUM |
MILLISECONDS |
MINUTE |
MONTH |
QUARTER |
SECOND |
TIMEZONE |
TIMEZONE_HOUR |
TIMEZONE_MINUTE |
WEEK |
YEAR |
Modifier and Type | Method and Description |
---|---|
static PostgresExtractField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PostgresExtractField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PostgresExtractField CENTURY
public static final PostgresExtractField DAY
public static final PostgresExtractField DECADE
public static final PostgresExtractField DOW
public static final PostgresExtractField DOY
public static final PostgresExtractField EPOCH
public static final PostgresExtractField HOUR
public static final PostgresExtractField ISODOW
public static final PostgresExtractField ISOYEAR
public static final PostgresExtractField MICROSECONDS
public static final PostgresExtractField MILLENNIUM
public static final PostgresExtractField MILLISECONDS
public static final PostgresExtractField MINUTE
public static final PostgresExtractField MONTH
public static final PostgresExtractField QUARTER
public static final PostgresExtractField SECOND
public static final PostgresExtractField TIMEZONE
public static final PostgresExtractField TIMEZONE_HOUR
public static final PostgresExtractField TIMEZONE_MINUTE
public static final PostgresExtractField WEEK
public static final PostgresExtractField YEAR
public static PostgresExtractField[] values()
for (PostgresExtractField c : PostgresExtractField.values()) System.out.println(c);
public static PostgresExtractField valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2008–2023 Apache Software Foundation. All rights reserved.