public enum HiveStorageFormat extends Enum<HiveStorageFormat>
| Enum Constant and Description |
|---|
AVRO |
CSV |
JSON |
ORC |
PARQUET |
RCBINARY |
RCTEXT |
SEQUENCEFILE |
TEXTFILE |
| Modifier and Type | Method and Description |
|---|---|
io.airlift.units.DataSize |
getEstimatedWriterSystemMemoryUsage() |
String |
getInputFormat() |
String |
getOutputFormat() |
String |
getSerDe() |
void |
validateColumns(List<HiveColumnHandle> handles) |
static HiveStorageFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HiveStorageFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HiveStorageFormat ORC
public static final HiveStorageFormat PARQUET
public static final HiveStorageFormat AVRO
public static final HiveStorageFormat RCBINARY
public static final HiveStorageFormat RCTEXT
public static final HiveStorageFormat SEQUENCEFILE
public static final HiveStorageFormat JSON
public static final HiveStorageFormat TEXTFILE
public static final HiveStorageFormat CSV
public static HiveStorageFormat[] values()
for (HiveStorageFormat c : HiveStorageFormat.values()) System.out.println(c);
public static HiveStorageFormat 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 getSerDe()
public String getInputFormat()
public String getOutputFormat()
public io.airlift.units.DataSize getEstimatedWriterSystemMemoryUsage()
public void validateColumns(List<HiveColumnHandle> handles)
Copyright © 2012–2020. All rights reserved.