public enum CompressionCodecName extends Enum<CompressionCodecName>
Enum Constant and Description |
---|
BROTLI |
GZIP |
LZ4 |
LZO |
SNAPPY |
UNCOMPRESSED |
ZSTD |
Modifier and Type | Method and Description |
---|---|
static CompressionCodecName |
fromCompressionCodec(Class<?> clazz) |
static CompressionCodecName |
fromConf(String name) |
static CompressionCodecName |
fromParquet(CompressionCodec codec) |
String |
getExtension() |
Class |
getHadoopCompressionCodecClass() |
String |
getHadoopCompressionCodecClassName() |
CompressionCodec |
getParquetCompressionCodec() |
static CompressionCodecName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionCodecName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressionCodecName UNCOMPRESSED
public static final CompressionCodecName SNAPPY
public static final CompressionCodecName GZIP
public static final CompressionCodecName LZO
public static final CompressionCodecName BROTLI
public static final CompressionCodecName LZ4
public static final CompressionCodecName ZSTD
public static CompressionCodecName[] values()
for (CompressionCodecName c : CompressionCodecName.values()) System.out.println(c);
public static CompressionCodecName 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 static CompressionCodecName fromConf(String name)
public static CompressionCodecName fromCompressionCodec(Class<?> clazz)
public static CompressionCodecName fromParquet(CompressionCodec codec)
public String getHadoopCompressionCodecClassName()
public Class getHadoopCompressionCodecClass()
public CompressionCodec getParquetCompressionCodec()
public String getExtension()
Copyright © 2019 The Apache Software Foundation. All rights reserved.