Package org.apache.calcite.sql
Enum SqlExplainLevel
- All Implemented Interfaces:
Serializable
,Comparable<SqlExplainLevel>
,Constable
,Symbolizable
SqlExplainLevel defines detail levels for EXPLAIN PLAN.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDisplay all attributes, including cost.Display only attributes which contribute to an expression's digest.Display only attributes which contribute to the plan output.Suppress all attributes.Display all attributes, including id, except cost. -
Method Summary
Modifier and TypeMethodDescriptionstatic SqlExplainLevel
Returns the enum constant of this type with the specified name.static SqlExplainLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface org.apache.calcite.sql.Symbolizable
symbol
-
Enum Constant Details
-
NO_ATTRIBUTES
Suppress all attributes. -
EXPPLAN_ATTRIBUTES
Display only attributes which contribute to the plan output. -
DIGEST_ATTRIBUTES
Display only attributes which contribute to an expression's digest. -
NON_COST_ATTRIBUTES
Display all attributes, including id, except cost. -
ALL_ATTRIBUTES
Display all attributes, including cost.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-