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.
Modifier and Type | Field and Description |
---|---|
Object |
defaultValue |
boolean |
isJdbc |
Method |
method |
Class<?> |
type |
Modifier and Type | Method and Description |
---|---|
static Meta.DatabaseProperty |
fromProto(org.apache.calcite.avatica.proto.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.
|
org.apache.calcite.avatica.proto.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 static final Meta.DatabaseProperty AVATICA_VERSION
public static final Meta.DatabaseProperty GET_DRIVER_VERSION
DatabaseMetaData.getDriverVersion()
.public static final Meta.DatabaseProperty GET_DRIVER_MINOR_VERSION
DatabaseMetaData.getDriverMinorVersion()
.public static final Meta.DatabaseProperty GET_DRIVER_MAJOR_VERSION
DatabaseMetaData.getDriverMajorVersion()
.public static final Meta.DatabaseProperty GET_DRIVER_NAME
DatabaseMetaData.getDriverName()
.public static final Meta.DatabaseProperty GET_DATABASE_MINOR_VERSION
DatabaseMetaData.getDatabaseMinorVersion()
.public static final Meta.DatabaseProperty GET_DATABASE_MAJOR_VERSION
DatabaseMetaData.getDatabaseMajorVersion()
.public static final Meta.DatabaseProperty GET_DATABASE_PRODUCT_NAME
DatabaseMetaData.getDatabaseProductName()
.public static final Meta.DatabaseProperty GET_DATABASE_PRODUCT_VERSION
DatabaseMetaData.getDatabaseProductVersion()
.public final Class<?> type
public final Object defaultValue
public final Method method
public final boolean isJdbc
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(org.apache.calcite.avatica.proto.Common.DatabaseProperty proto)
public org.apache.calcite.avatica.proto.Common.DatabaseProperty toProto()
Copyright © 2012-2024 Apache Software Foundation. All Rights Reserved.