public enum SqlInsertKeyword extends Enum<SqlInsertKeyword> implements SqlLiteral.SqlSymbol
Standard SQL has no such keywords, but extension projects may define them.
| Enum Constant and Description |
|---|
UPSERT |
| Modifier and Type | Method and Description |
|---|---|
SqlLiteral |
symbol(SqlParserPos pos)
Creates a parse-tree node representing an occurrence of this keyword
at a particular position in the parsed text.
|
static SqlInsertKeyword |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlInsertKeyword[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfname, ordinalpublic static final SqlInsertKeyword UPSERT
public static SqlInsertKeyword[] values()
for (SqlInsertKeyword c : SqlInsertKeyword.values()) System.out.println(c);
public static SqlInsertKeyword 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 SqlLiteral symbol(SqlParserPos pos)
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.