Package io.trino.sql.tree
Enum ExplainType.Type
- java.lang.Object
-
- java.lang.Enum<ExplainType.Type>
-
- io.trino.sql.tree.ExplainType.Type
-
- All Implemented Interfaces:
Serializable,Comparable<ExplainType.Type>
- Enclosing class:
- ExplainType
public static enum ExplainType.Type extends Enum<ExplainType.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISTRIBUTEDIOLOGICALVALIDATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExplainType.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static ExplainType.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOGICAL
public static final ExplainType.Type LOGICAL
-
DISTRIBUTED
public static final ExplainType.Type DISTRIBUTED
-
VALIDATE
public static final ExplainType.Type VALIDATE
-
IO
public static final ExplainType.Type IO
-
-
Method Detail
-
values
public static ExplainType.Type[] 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 (ExplainType.Type c : ExplainType.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExplainType.Type 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
-
-