Enum FileMetaData.EncryptionType
- java.lang.Object
-
- java.lang.Enum<FileMetaData.EncryptionType>
-
- org.apache.parquet.hadoop.metadata.FileMetaData.EncryptionType
-
- All Implemented Interfaces:
Serializable,Comparable<FileMetaData.EncryptionType>
- Enclosing class:
- FileMetaData
public static enum FileMetaData.EncryptionType extends Enum<FileMetaData.EncryptionType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENCRYPTED_FOOTERPLAINTEXT_FOOTERUNENCRYPTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileMetaData.EncryptionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static FileMetaData.EncryptionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNENCRYPTED
public static final FileMetaData.EncryptionType UNENCRYPTED
-
PLAINTEXT_FOOTER
public static final FileMetaData.EncryptionType PLAINTEXT_FOOTER
-
ENCRYPTED_FOOTER
public static final FileMetaData.EncryptionType ENCRYPTED_FOOTER
-
-
Method Detail
-
values
public static FileMetaData.EncryptionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FileMetaData.EncryptionType c : FileMetaData.EncryptionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileMetaData.EncryptionType 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
-
-