@EnumDescription(value="Hoodie file formats.") public enum HoodieFileFormat extends Enum<HoodieFileFormat>
| Enum Constant and Description |
|---|
HFILE |
HOODIE_LOG |
ORC |
PARQUET |
| Modifier and Type | Field and Description |
|---|---|
static Set<String> |
BASE_FILE_EXTENSIONS |
| Modifier and Type | Method and Description |
|---|---|
static HoodieFileFormat |
fromFileExtension(String extension) |
String |
getFileExtension() |
static HoodieFileFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HoodieFileFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@EnumFieldDescription(value="Apache Parquet is an open source, column-oriented data file format designed for efficient data storage and retrieval. It provides efficient data compression and encoding schemes with enhanced performance to handle complex data in bulk.") public static final HoodieFileFormat PARQUET
@EnumFieldDescription(value="File format used for changes in MOR and archived timeline.") public static final HoodieFileFormat HOODIE_LOG
@EnumFieldDescription(value="(internal config) File format for metadata table. A file of sorted key/value pairs. Both keys and values are byte arrays.") public static final HoodieFileFormat HFILE
@EnumFieldDescription(value="The Optimized Row Columnar (ORC) file format provides a highly efficient way to store Hive data. It was designed to overcome limitations of the other Hive file formats. Using ORC files improves performance when Hive is reading, writing, and processing data.") public static final HoodieFileFormat ORC
public static HoodieFileFormat[] values()
for (HoodieFileFormat c : HoodieFileFormat.values()) System.out.println(c);
public static HoodieFileFormat 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 String getFileExtension()
public static HoodieFileFormat fromFileExtension(String extension)
Copyright © 2024 The Apache Software Foundation. All rights reserved.