public enum SqlDdlKeywords extends Enum<SqlDdlKeywords> implements org.apache.calcite.sql.SqlLiteral.SqlSymbol
Define the keywords that can occur in a CREATE TABLE statement.
Enum Constant and Description |
---|
PRIMARY |
Modifier and Type | Method and Description |
---|---|
static SqlDdlKeywords |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlDdlKeywords[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlDdlKeywords PRIMARY
public static SqlDdlKeywords[] values()
for (SqlDdlKeywords c : SqlDdlKeywords.values()) System.out.println(c);
public static SqlDdlKeywords valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 The Apache Software Foundation. All rights reserved.