public enum BuiltInConnectionProperty extends Enum<BuiltInConnectionProperty> implements ConnectionProperty
ConnectionProperty.Type
Enum Constant and Description |
---|
AUTHENTICATION
The type of authentication to be used
|
AVATICA_PASSWORD
Avatica-based authentication password
|
AVATICA_USER
Avatica-based authentication user name
|
FACTORY
Factory.
|
HOSTNAME_VERIFICATION |
HTTP_CLIENT_FACTORY
Factory for constructing http clients.
|
HTTP_CLIENT_IMPL
HttpClient implementation class name.
|
KEY_PASSWORD
Password for the key inside keystore
|
KEYSTORE
Keystore for MTLS authentication
|
KEYSTORE_PASSWORD
Password for the keystore
|
KEYTAB
Keytab to use to perform Kerberos login.
|
PRINCIPAL
Principal to use to perform Kerberos login.
|
SCHEMA
Name of initial schema.
|
SERIALIZATION
Serialization used over remote connections
|
TIME_ZONE
Time zone, for example 'gmt-3'.
|
TRUSTSTORE
Truststore for SSL/TLS communication
|
TRUSTSTORE_PASSWORD
Password for the truststore
|
URL
Remote URL.
|
Modifier and Type | Field and Description |
---|---|
static BuiltInConnectionProperty |
TIMEZONE
Deprecated.
|
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.
|
static boolean |
isLocalProperty(Object propertyName)
Checks if the given property only applicable to the remote driver (should not be sent to the
Avatica server).
|
boolean |
required()
Whether the property is mandatory.
|
ConnectionProperty.Type |
type()
Returns the data type of this property.
|
Class |
valueClass()
Class of values that this property can take.
|
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, valueOf
name
public static final BuiltInConnectionProperty FACTORY
public static final BuiltInConnectionProperty SCHEMA
public static final BuiltInConnectionProperty TIME_ZONE
public static final BuiltInConnectionProperty URL
public static final BuiltInConnectionProperty SERIALIZATION
public static final BuiltInConnectionProperty AUTHENTICATION
public static final BuiltInConnectionProperty AVATICA_USER
public static final BuiltInConnectionProperty AVATICA_PASSWORD
public static final BuiltInConnectionProperty HTTP_CLIENT_FACTORY
public static final BuiltInConnectionProperty HTTP_CLIENT_IMPL
public static final BuiltInConnectionProperty PRINCIPAL
public static final BuiltInConnectionProperty KEYTAB
public static final BuiltInConnectionProperty TRUSTSTORE
public static final BuiltInConnectionProperty TRUSTSTORE_PASSWORD
public static final BuiltInConnectionProperty KEYSTORE
public static final BuiltInConnectionProperty KEYSTORE_PASSWORD
public static final BuiltInConnectionProperty KEY_PASSWORD
public static final BuiltInConnectionProperty HOSTNAME_VERIFICATION
@Deprecated public static final BuiltInConnectionProperty TIMEZONE
TIME_ZONE
.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()
ConnectionProperty
camelName
in interface ConnectionProperty
public Object defaultValue()
ConnectionProperty
defaultValue
in interface ConnectionProperty
public ConnectionProperty.Type type()
ConnectionProperty
type
in interface ConnectionProperty
public boolean required()
ConnectionProperty
required
in interface ConnectionProperty
public Class valueClass()
ConnectionProperty
ConnectionProperty.Type.ENUM
properties.valueClass
in interface ConnectionProperty
public ConnectionConfigImpl.PropEnv wrap(Properties properties)
ConnectionProperty
wrap
in interface ConnectionProperty
public static boolean isLocalProperty(Object propertyName)
propertyName
- Name of the propertyCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.