public static enum Meta.DatabaseProperty extends Enum<Meta.DatabaseProperty>
Values exist for methods, such as
DatabaseMetaData.getSQLKeywords(), which always return the same
value at all times and across connections.
| Enum Constant and Description |
|---|
GET_DEFAULT_TRANSACTION_ISOLATION
Database property containing the value of
DatabaseMetaData.getDefaultTransactionIsolation(). |
GET_NUMERIC_FUNCTIONS
Database property containing the value of
DatabaseMetaData.getNumericFunctions(). |
GET_S_Q_L_KEYWORDS
Database property containing the value of
DatabaseMetaData.getSQLKeywords(). |
GET_STRING_FUNCTIONS
Database property containing the value of
DatabaseMetaData.getStringFunctions(). |
GET_SYSTEM_FUNCTIONS
Database property containing the value of
DatabaseMetaData.getSystemFunctions(). |
GET_TIME_DATE_FUNCTIONS
Database property containing the value of
DatabaseMetaData.getTimeDateFunctions(). |
| Modifier and Type | Field and Description |
|---|---|
Object |
defaultValue |
Method |
method |
Class<?> |
type |
| Modifier and Type | Method and Description |
|---|---|
static Meta.DatabaseProperty |
fromProto(Common.DatabaseProperty proto) |
<T> T |
getProp(Map<Meta.DatabaseProperty,Object> map,
Class<T> aClass)
Returns a value of this property, using the default value if the map
does not contain an explicit value.
|
<T> T |
getProp(Meta meta,
Meta.ConnectionHandle ch,
Class<T> aClass)
Returns a value of this property, using the default value if the map
does not contain an explicit value.
|
Common.DatabaseProperty |
toProto() |
static Meta.DatabaseProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Meta.DatabaseProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Meta.DatabaseProperty GET_NUMERIC_FUNCTIONS
DatabaseMetaData.getNumericFunctions().public static final Meta.DatabaseProperty GET_STRING_FUNCTIONS
DatabaseMetaData.getStringFunctions().public static final Meta.DatabaseProperty GET_SYSTEM_FUNCTIONS
DatabaseMetaData.getSystemFunctions().public static final Meta.DatabaseProperty GET_TIME_DATE_FUNCTIONS
DatabaseMetaData.getTimeDateFunctions().public static final Meta.DatabaseProperty GET_S_Q_L_KEYWORDS
DatabaseMetaData.getSQLKeywords().public static final Meta.DatabaseProperty GET_DEFAULT_TRANSACTION_ISOLATION
DatabaseMetaData.getDefaultTransactionIsolation().public final Class<?> type
public final Object defaultValue
public final Method method
public static Meta.DatabaseProperty[] values()
for (Meta.DatabaseProperty c : Meta.DatabaseProperty.values()) System.out.println(c);
public static Meta.DatabaseProperty 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 <T> T getProp(Meta meta, Meta.ConnectionHandle ch, Class<T> aClass)
public <T> T getProp(Map<Meta.DatabaseProperty,Object> map, Class<T> aClass)
public static Meta.DatabaseProperty fromProto(Common.DatabaseProperty proto)
public Common.DatabaseProperty toProto()
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.