public enum Dialect extends Enum<Dialect>
Enum Constant and Description |
---|
GOOGLE_STANDARD_SQL |
POSTGRESQL |
Modifier and Type | Method and Description |
---|---|
abstract String |
createDatabaseStatementFor(String databaseName) |
static Dialect |
fromName(String name) |
static Dialect |
fromProto(DatabaseDialect databaseDialect) |
abstract DatabaseDialect |
toProto() |
static Dialect |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dialect[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dialect GOOGLE_STANDARD_SQL
public static final Dialect POSTGRESQL
public static Dialect[] values()
for (Dialect c : Dialect.values()) System.out.println(c);
public static Dialect 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 abstract DatabaseDialect toProto()
public static Dialect fromProto(DatabaseDialect databaseDialect)
Copyright © 2022 Google LLC. All rights reserved.