@InterfaceAudience.Public public enum MobCompactPartitionPolicy extends Enum<MobCompactPartitionPolicy>
Enum Constant and Description |
---|
DAILY
Compact daily mob files into one file
|
MONTHLY
Compact mob files within one calendar month into one file
|
WEEKLY
Compact mob files within one calendar week into one file
|
Modifier and Type | Method and Description |
---|---|
static MobCompactPartitionPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MobCompactPartitionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MobCompactPartitionPolicy DAILY
public static final MobCompactPartitionPolicy WEEKLY
public static final MobCompactPartitionPolicy MONTHLY
public static MobCompactPartitionPolicy[] values()
for (MobCompactPartitionPolicy c : MobCompactPartitionPolicy.values()) System.out.println(c);
public static MobCompactPartitionPolicy 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 © 2007–2019 Cloudera. All rights reserved.