public enum PartitionTTLStrategyType extends Enum<PartitionTTLStrategyType>
PartitionTTLStrategy.| Enum Constant and Description |
|---|
KEEP_BY_CREATION_TIME |
KEEP_BY_TIME |
| Modifier and Type | Method and Description |
|---|---|
static PartitionTTLStrategyType |
fromClassName(String className) |
String |
getClassName() |
static String |
getPartitionTTLStrategyClassName(HoodieConfig config) |
static List<String> |
getPartitionTTLStrategyNames() |
static PartitionTTLStrategyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PartitionTTLStrategyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PartitionTTLStrategyType KEEP_BY_TIME
public static final PartitionTTLStrategyType KEEP_BY_CREATION_TIME
public static PartitionTTLStrategyType[] values()
for (PartitionTTLStrategyType c : PartitionTTLStrategyType.values()) System.out.println(c);
public static PartitionTTLStrategyType 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 getClassName()
public static PartitionTTLStrategyType fromClassName(String className)
@Nullable public static String getPartitionTTLStrategyClassName(HoodieConfig config)
Copyright © 2024 The Apache Software Foundation. All rights reserved.