Package io.trino.tests.product.iceberg
Enum TestIcebergSparkCompatibility.CreateMode
- java.lang.Object
-
- java.lang.Enum<TestIcebergSparkCompatibility.CreateMode>
-
- io.trino.tests.product.iceberg.TestIcebergSparkCompatibility.CreateMode
-
- All Implemented Interfaces:
Serializable,Comparable<TestIcebergSparkCompatibility.CreateMode>
- Enclosing class:
- TestIcebergSparkCompatibility
public static enum TestIcebergSparkCompatibility.CreateMode extends Enum<TestIcebergSparkCompatibility.CreateMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATE_TABLE_AND_INSERTCREATE_TABLE_AS_SELECTCREATE_TABLE_WITH_NO_DATA_AND_INSERT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TestIcebergSparkCompatibility.CreateModevalueOf(String name)Returns the enum constant of this type with the specified name.static TestIcebergSparkCompatibility.CreateMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE_TABLE_AND_INSERT
public static final TestIcebergSparkCompatibility.CreateMode CREATE_TABLE_AND_INSERT
-
CREATE_TABLE_AS_SELECT
public static final TestIcebergSparkCompatibility.CreateMode CREATE_TABLE_AS_SELECT
-
CREATE_TABLE_WITH_NO_DATA_AND_INSERT
public static final TestIcebergSparkCompatibility.CreateMode CREATE_TABLE_WITH_NO_DATA_AND_INSERT
-
-
Method Detail
-
values
public static TestIcebergSparkCompatibility.CreateMode[] 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 (TestIcebergSparkCompatibility.CreateMode c : TestIcebergSparkCompatibility.CreateMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestIcebergSparkCompatibility.CreateMode 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
-
-