public enum RichSqlInsertKeyword extends Enum<RichSqlInsertKeyword>
Standard SQL has no such keywords, but extension projects may define them.
This class is almost an extension of SqlInsertKeyword
.
Enum Constant and Description |
---|
OVERWRITE |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.sql.SqlLiteral |
symbol(org.apache.calcite.sql.parser.SqlParserPos pos)
Creates a parse-tree node representing an occurrence of this keyword at a particular position
in the parsed text.
|
static RichSqlInsertKeyword |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RichSqlInsertKeyword[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RichSqlInsertKeyword OVERWRITE
public static RichSqlInsertKeyword[] values()
for (RichSqlInsertKeyword c : RichSqlInsertKeyword.values()) System.out.println(c);
public static RichSqlInsertKeyword 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 nullpublic org.apache.calcite.sql.SqlLiteral symbol(org.apache.calcite.sql.parser.SqlParserPos pos)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.