Package io.trino.plugin.hive.s3
Enum S3FileSystemType
- java.lang.Object
-
- java.lang.Enum<S3FileSystemType>
-
- io.trino.plugin.hive.s3.S3FileSystemType
-
- All Implemented Interfaces:
Serializable,Comparable<S3FileSystemType>
public enum S3FileSystemType extends Enum<S3FileSystemType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMRFSDeprecated.EMRFS was used to workaround S3's lack of strong consistency and is no longer needed per AWS's announcement.HADOOP_DEFAULTTRINO
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static S3FileSystemTypevalueOf(String name)Returns the enum constant of this type with the specified name.static S3FileSystemType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRINO
public static final S3FileSystemType TRINO
-
EMRFS
@Deprecated public static final S3FileSystemType EMRFS
Deprecated.EMRFS was used to workaround S3's lack of strong consistency and is no longer needed per AWS's announcement.
-
HADOOP_DEFAULT
public static final S3FileSystemType HADOOP_DEFAULT
-
-
Method Detail
-
values
public static S3FileSystemType[] 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 (S3FileSystemType c : S3FileSystemType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static S3FileSystemType 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
-
-