public enum CompressionKind extends Enum<CompressionKind>
NOTE: The file was copied and modified to support zstd-jni. This feature is only supported in ORC 2.0, but 2.0 only supports JDK17. We need to support JDK8.
Enum Constant and Description |
---|
BROTLI |
LZ4 |
LZO |
NONE |
SNAPPY |
ZLIB |
ZSTD |
Modifier and Type | Method and Description |
---|---|
static CompressionKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressionKind NONE
public static final CompressionKind ZLIB
public static final CompressionKind SNAPPY
public static final CompressionKind LZO
public static final CompressionKind LZ4
public static final CompressionKind ZSTD
public static final CompressionKind BROTLI
public static CompressionKind[] values()
for (CompressionKind c : CompressionKind.values()) System.out.println(c);
public static CompressionKind 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.