public enum BlockCompressionType extends Enum<BlockCompressionType>
Modifier and Type | Method and Description |
---|---|
static BlockCompressionType |
getCompressionTypeByPersistentId(int persistentId) |
int |
persistentId() |
static BlockCompressionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockCompressionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockCompressionType NONE
public static final BlockCompressionType ZSTD
public static final BlockCompressionType LZ4
public static final BlockCompressionType LZO
public static BlockCompressionType[] values()
for (BlockCompressionType c : BlockCompressionType.values()) System.out.println(c);
public static BlockCompressionType 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 int persistentId()
public static BlockCompressionType getCompressionTypeByPersistentId(int persistentId)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.