public static enum Snapshot.CommitKind extends Enum<Snapshot.CommitKind>
Enum Constant and Description |
---|
ANALYZE
Collect statistics.
|
APPEND
Changes flushed from the mem table.
|
COMPACT
Changes by compacting existing data files.
|
OVERWRITE
Changes that clear up the whole partition and then add new records.
|
Modifier and Type | Method and Description |
---|---|
static Snapshot.CommitKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Snapshot.CommitKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Snapshot.CommitKind APPEND
public static final Snapshot.CommitKind COMPACT
public static final Snapshot.CommitKind OVERWRITE
public static final Snapshot.CommitKind ANALYZE
public static Snapshot.CommitKind[] values()
for (Snapshot.CommitKind c : Snapshot.CommitKind.values()) System.out.println(c);
public static Snapshot.CommitKind 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 © 2023–2024 The Apache Software Foundation. All rights reserved.