Enum FileFormat
- java.lang.Object
-
- java.lang.Enum<FileFormat>
-
- org.apache.pinot.spi.data.readers.FileFormat
-
- All Implemented Interfaces:
Serializable,Comparable<FileFormat>,java.lang.constant.Constable
public enum FileFormat extends Enum<FileFormat>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Method Summary
Modifier and Type Method Description static FileFormatvalueOf(String name)Returns the enum constant of this type with the specified name.static FileFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AVRO
public static final FileFormat AVRO
-
GZIPPED_AVRO
public static final FileFormat GZIPPED_AVRO
-
CSV
public static final FileFormat CSV
-
JSON
public static final FileFormat JSON
-
PINOT
public static final FileFormat PINOT
-
THRIFT
public static final FileFormat THRIFT
-
PARQUET
public static final FileFormat PARQUET
-
ORC
public static final FileFormat ORC
-
PROTO
public static final FileFormat PROTO
-
OTHER
public static final FileFormat OTHER
-
-
Method Detail
-
values
public static FileFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileFormat valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-