Package io.trino.plugin.hive.rubix
Enum RubixConfig.ReadMode
- java.lang.Object
-
- java.lang.Enum<RubixConfig.ReadMode>
-
- io.trino.plugin.hive.rubix.RubixConfig.ReadMode
-
- All Implemented Interfaces:
Serializable,Comparable<RubixConfig.ReadMode>
- Enclosing class:
- RubixConfig
public static enum RubixConfig.ReadMode extends Enum<RubixConfig.ReadMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASYNCREAD_THROUGH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RubixConfig.ReadModefromString(String value)booleanisParallelWarmupEnabled()static RubixConfig.ReadModevalueOf(String name)Returns the enum constant of this type with the specified name.static RubixConfig.ReadMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ_THROUGH
public static final RubixConfig.ReadMode READ_THROUGH
-
ASYNC
public static final RubixConfig.ReadMode ASYNC
-
-
Method Detail
-
values
public static RubixConfig.ReadMode[] 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 (RubixConfig.ReadMode c : RubixConfig.ReadMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RubixConfig.ReadMode 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
-
isParallelWarmupEnabled
public boolean isParallelWarmupEnabled()
-
fromString
public static RubixConfig.ReadMode fromString(String value)
-
-