public static enum TableTtl.TtlUnit extends Enum<TableTtl.TtlUnit>
| Enum Constant and Description |
|---|
MICROSECONDS |
MILLISECONDS |
NANOSECONDS |
SECONDS |
UNSPECIFIED |
| Modifier and Type | Method and Description |
|---|---|
static TableTtl.TtlUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableTtl.TtlUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableTtl.TtlUnit UNSPECIFIED
public static final TableTtl.TtlUnit SECONDS
public static final TableTtl.TtlUnit MILLISECONDS
public static final TableTtl.TtlUnit MICROSECONDS
public static final TableTtl.TtlUnit NANOSECONDS
public static TableTtl.TtlUnit[] values()
for (TableTtl.TtlUnit c : TableTtl.TtlUnit.values()) System.out.println(c);
public static TableTtl.TtlUnit 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 © 2024. All rights reserved.