public enum BuiltInConnectionProperty extends Enum<BuiltInConnectionProperty> implements ConnectionProperty
ConnectionProperty.Type| Enum Constant and Description |
|---|
FACTORY
Factory.
|
SCHEMA
Name of initial schema.
|
TIMEZONE
Timezone, for example 'gmt-3'.
|
URL
Remote URL.
|
| Modifier and Type | Method and Description |
|---|---|
String |
camelName()
The name of this property in camel-case.
|
Object |
defaultValue()
Returns the default value of this property.
|
boolean |
required()
Whether the property is mandatory.
|
ConnectionProperty.Type |
type()
Returns the data type of this property.
|
static BuiltInConnectionProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuiltInConnectionProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ConnectionConfigImpl.PropEnv |
wrap(Properties properties)
Wraps this property with a properties object from which its value can be
obtained when needed.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnamepublic static final BuiltInConnectionProperty FACTORY
public static final BuiltInConnectionProperty SCHEMA
public static final BuiltInConnectionProperty TIMEZONE
public static final BuiltInConnectionProperty URL
public static BuiltInConnectionProperty[] values()
for (BuiltInConnectionProperty c : BuiltInConnectionProperty.values()) System.out.println(c);
public static BuiltInConnectionProperty 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 camelName()
ConnectionPropertycamelName in interface ConnectionPropertypublic Object defaultValue()
ConnectionPropertydefaultValue in interface ConnectionPropertypublic ConnectionProperty.Type type()
ConnectionPropertytype in interface ConnectionPropertypublic boolean required()
ConnectionPropertyrequired in interface ConnectionPropertypublic ConnectionConfigImpl.PropEnv wrap(Properties properties)
ConnectionPropertywrap in interface ConnectionPropertyCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.