public static enum LogicalType.TimeUnit.unit extends Enum<LogicalType.TimeUnit.unit>
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
LogicalType.TimeUnit.unit |
intern() |
String |
toString() |
static LogicalType.TimeUnit.unit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogicalType.TimeUnit.unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogicalType.TimeUnit.unit UNKNOWN
public static final LogicalType.TimeUnit.unit MILLIS
public static final LogicalType.TimeUnit.unit MICROS
public static final LogicalType.TimeUnit.unit NANOS
public static LogicalType.TimeUnit.unit[] values()
for (LogicalType.TimeUnit.unit c : LogicalType.TimeUnit.unit.values()) System.out.println(c);
public static LogicalType.TimeUnit.unit 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 nullpublic LogicalType.TimeUnit.unit intern()
public String toString()
toString
in class Enum<LogicalType.TimeUnit.unit>
Copyright © 2022. All rights reserved.