public static enum Compression.type extends Enum<Compression.type>
| Enum Constant and Description |
|---|
BROTLI |
BZ2 |
GZIP |
LZ4 |
LZ4_FRAME |
LZ4_HADOOP |
LZO |
SNAPPY |
UNCOMPRESSED |
ZSTD |
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
Compression.type |
intern() |
String |
toString() |
static Compression.type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Compression.type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Compression.type UNCOMPRESSED
public static final Compression.type SNAPPY
public static final Compression.type GZIP
public static final Compression.type BROTLI
public static final Compression.type ZSTD
public static final Compression.type LZ4
public static final Compression.type LZ4_FRAME
public static final Compression.type LZO
public static final Compression.type BZ2
public static final Compression.type LZ4_HADOOP
public static Compression.type[] values()
for (Compression.type c : Compression.type.values()) System.out.println(c);
public static Compression.type 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 Compression.type intern()
public String toString()
toString in class Enum<Compression.type>Copyright © 2021. All rights reserved.