public enum SqlExplainFormat extends java.lang.Enum<SqlExplainFormat>
EXPLAIN PLAN
statement.Enum Constant and Description |
---|
JSON
Indicates that the plan should be output in JSON format.
|
TEXT
Indicates that the plan should be output as a piece of indented text.
|
XML
Indicates that the plan should be output in XML format.
|
Modifier and Type | Method and Description |
---|---|
SqlLiteral |
symbol(SqlParserPos pos)
Creates a parse-tree node representing an occurrence of this symbol at
a particular position in the parsed text.
|
static SqlExplainFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SqlExplainFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlExplainFormat TEXT
public static final SqlExplainFormat XML
public static final SqlExplainFormat JSON
public static SqlExplainFormat[] values()
for (SqlExplainFormat c : SqlExplainFormat.values()) System.out.println(c);
public static SqlExplainFormat valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic SqlLiteral symbol(SqlParserPos pos)
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.