public enum EmbeddedLanguage extends Enum<EmbeddedLanguage> implements nl.cwi.monetdb.mcl.connection.IMonetDBLanguage
| Enum Constant and Description |
|---|
LANG_SQL
The SQL language
|
LANG_UNKNOWN
An unknown language
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCommandTemplateIndex(int index) |
String[] |
getCommandTemplates() |
static EmbeddedLanguage |
GetLanguageFromString(String language)
This method is used to keep compatibility with the MAPI JDBC connection.
|
String |
getQueryTemplateIndex(int index) |
String[] |
getQueryTemplates() |
String |
getRepresentation() |
static EmbeddedLanguage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EmbeddedLanguage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmbeddedLanguage LANG_SQL
public static final EmbeddedLanguage LANG_UNKNOWN
public static EmbeddedLanguage[] values()
for (EmbeddedLanguage c : EmbeddedLanguage.values()) System.out.println(c);
public static EmbeddedLanguage 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 String getQueryTemplateIndex(int index)
getQueryTemplateIndex in interface nl.cwi.monetdb.mcl.connection.IMonetDBLanguagepublic String getCommandTemplateIndex(int index)
getCommandTemplateIndex in interface nl.cwi.monetdb.mcl.connection.IMonetDBLanguagepublic String[] getQueryTemplates()
getQueryTemplates in interface nl.cwi.monetdb.mcl.connection.IMonetDBLanguagepublic String[] getCommandTemplates()
getCommandTemplates in interface nl.cwi.monetdb.mcl.connection.IMonetDBLanguagepublic String getRepresentation()
getRepresentation in interface nl.cwi.monetdb.mcl.connection.IMonetDBLanguagepublic static EmbeddedLanguage GetLanguageFromString(String language)
language - The language to retrieve the corresponding StringCopyright © 2017. All rights reserved.