public enum DiskPageCompression extends Enum<DiskPageCompression>
Enum Constant and Description |
---|
DISABLED
Compression disabled.
|
LZ4
LZ4 compression.
|
SKIP_GARBAGE
Retain only useful data from half-filled pages, but do not apply any compression.
|
SNAPPY
Snappy compression.
|
ZSTD
Zstd compression.
|
Modifier and Type | Method and Description |
---|---|
static @Nullable DiskPageCompression |
fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static DiskPageCompression |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiskPageCompression[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiskPageCompression DISABLED
public static final DiskPageCompression SKIP_GARBAGE
public static final DiskPageCompression ZSTD
public static final DiskPageCompression LZ4
public static final DiskPageCompression SNAPPY
public static DiskPageCompression[] values()
for (DiskPageCompression c : DiskPageCompression.values()) System.out.println(c);
public static DiskPageCompression 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 null@Nullable public static @Nullable DiskPageCompression fromOrdinal(int ord)
ord
- Ordinal value.null
if ordinal out of range.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024