Enum SqlSchema.Describe.Format
java.lang.Object
java.lang.Enum<SqlSchema.Describe.Format>
org.apache.drill.exec.planner.sql.parser.SqlSchema.Describe.Format
- All Implemented Interfaces:
Serializable
,Comparable<SqlSchema.Describe.Format>
- Enclosing class:
- SqlSchema.Describe
Enum which specifies format of DESCRIBE SCHEMA FOR table output.
-
Enum Constant Summary
Enum ConstantDescriptionSchema will be output in JSON format used to store schema inSchemaProvider.DEFAULT_SCHEMA_NAME
file.Schema will be output in CREATE SCHEMA command syntax. -
Method Summary
Modifier and TypeMethodDescriptionstatic SqlSchema.Describe.Format
Returns the enum constant of this type with the specified name.static SqlSchema.Describe.Format[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
JSON
Schema will be output in JSON format used to store schema inSchemaProvider.DEFAULT_SCHEMA_NAME
file. -
STATEMENT
Schema will be output in CREATE SCHEMA command syntax.
-
-
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
-