public enum InternalProperty extends Enum<InternalProperty>
AvaticaDatabaseMetaData.| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
InternalProperty.NullSorting
Where nulls appear in a sorted relation.
|
| Enum Constant and Description |
|---|
CASE_SENSITIVE
Whether identifiers are matched case-sensitively.
|
NULL_SORTING
How identifiers are stored if they are not quoted.
|
QUOTED_CASING
How identifiers are stored if they are quoted.
|
QUOTING
How identifiers are quoted.
|
SQL_KEYWORDS
Character that quotes identifiers.
|
UNQUOTED_CASING
How identifiers are stored if they are not quoted.
|
| Modifier and Type | Field and Description |
|---|---|
private Object |
defaultValue |
private Class |
enumClass |
private ConnectionProperty.Type |
type |
| Modifier and Type | Method and Description |
|---|---|
private <T> T |
get_(Map<InternalProperty,Object> map,
T defaultValue) |
boolean |
getBoolean(Map<InternalProperty,Object> map)
Returns the boolean value of this property.
|
<E extends Enum> |
getEnum(Map<InternalProperty,Object> map,
Class<E> enumClass)
Returns the enum value of this property.
|
String |
getString(Map<InternalProperty,Object> map)
Returns the string value of this property, or null if not specified and
no default.
|
static InternalProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InternalProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InternalProperty CASE_SENSITIVE
public static final InternalProperty SQL_KEYWORDS
public static final InternalProperty QUOTING
public static final InternalProperty QUOTED_CASING
public static final InternalProperty UNQUOTED_CASING
public static final InternalProperty NULL_SORTING
private final ConnectionProperty.Type type
private final Class enumClass
private final Object defaultValue
public static InternalProperty[] values()
for (InternalProperty c : InternalProperty.values()) System.out.println(c);
public static InternalProperty 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 nullprivate <T> T get_(Map<InternalProperty,Object> map, T defaultValue)
public String getString(Map<InternalProperty,Object> map)
public boolean getBoolean(Map<InternalProperty,Object> map)
public <E extends Enum> E getEnum(Map<InternalProperty,Object> map, Class<E> enumClass)
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.