public enum PuffinCompressionCodec extends java.lang.Enum<PuffinCompressionCodec>
Enum Constant and Description |
---|
LZ4
LZ4 single compression frame with content size present
|
NONE
No compression
|
ZSTD
Zstandard single compression frame with content size present
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
codecName() |
static PuffinCompressionCodec |
forName(java.lang.String codecName) |
static PuffinCompressionCodec |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PuffinCompressionCodec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PuffinCompressionCodec NONE
public static final PuffinCompressionCodec LZ4
public static final PuffinCompressionCodec ZSTD
public static PuffinCompressionCodec[] values()
for (PuffinCompressionCodec c : PuffinCompressionCodec.values()) System.out.println(c);
public static PuffinCompressionCodec valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Nullable public java.lang.String codecName()
public static PuffinCompressionCodec forName(@Nullable java.lang.String codecName)