public enum MigrationTable extends Enum<MigrationTable>
| Enum Constant and Description |
|---|
ONE_HOUR |
RAW |
SIX_HOUR |
TWENTY_FOUR_HOUR |
| Modifier and Type | Method and Description |
|---|---|
Bucket |
getAggregationBucket() |
Bucket |
getMigrationBucket() |
String |
getTableName() |
int |
getTTL() |
long |
getTTLinMilliseconds() |
String |
toString() |
static MigrationTable |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MigrationTable[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MigrationTable RAW
public static final MigrationTable ONE_HOUR
public static final MigrationTable SIX_HOUR
public static final MigrationTable TWENTY_FOUR_HOUR
public static MigrationTable[] values()
for (MigrationTable c : MigrationTable.values()) System.out.println(c);
public static MigrationTable 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 String getTableName()
public int getTTL()
public long getTTLinMilliseconds()
public Bucket getAggregationBucket()
public Bucket getMigrationBucket()
public String toString()
toString in class Enum<MigrationTable>Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.