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.
|
FETCH_SIZE
Number of rows to fetch per call.
|
HOSTNAME_VERIFICATION |
HTTP_CLIENT_FACTORY
Factory for constructing http clients.
|
HTTP_CLIENT_IMPL
HttpClient implementation class name.
|
HTTP_CONNECTION_TIMEOUT
HTTP Connection Timeout in milliseconds.
|
HTTP_RESPONSE_TIMEOUT
HTTP Response Timeout (socket timeout) in milliseconds.
|
KEY_PASSWORD
Password for the key inside keystore
|
KEYSTORE
Keystore for MTLS authentication
|
KEYSTORE_PASSWORD
Password for the keystore
|
KEYSTORE_TYPE
Keystore type (applies both to key and truststores)
|
KEYTAB
Keytab to use to perform Kerberos login.
|
LB_CONNECTION_FAILOVER_RETRIES
The number of retries we need for failover during client side load balancing.
|
LB_CONNECTION_FAILOVER_SLEEP_TIME
The amount of time in millis that the driver should wait before attempting
connection failover
|
LB_STRATEGY
Avatica connection HA property - Load balancing strategy
|
LB_URLS
Avatica connection HA property - Load balanced URLs
|
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'.
|
TRANSPARENT_RECONNECTION |
TRUSTSTORE
Truststore for SSL/TLS communication
|
TRUSTSTORE_PASSWORD
Password for the truststore
|
URL
Remote URL.
|
USE_CLIENT_SIDE_LB
Avatica connection HA property - use client side load balancing
|
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_TYPE
public static final BuiltInConnectionProperty KEYSTORE
public static final BuiltInConnectionProperty KEYSTORE_PASSWORD
public static final BuiltInConnectionProperty KEY_PASSWORD
public static final BuiltInConnectionProperty HOSTNAME_VERIFICATION
public static final BuiltInConnectionProperty TRANSPARENT_RECONNECTION
public static final BuiltInConnectionProperty FETCH_SIZE
public static final BuiltInConnectionProperty USE_CLIENT_SIDE_LB
public static final BuiltInConnectionProperty LB_URLS
public static final BuiltInConnectionProperty LB_STRATEGY
public static final BuiltInConnectionProperty LB_CONNECTION_FAILOVER_RETRIES
public static final BuiltInConnectionProperty LB_CONNECTION_FAILOVER_SLEEP_TIME
public static final BuiltInConnectionProperty HTTP_CONNECTION_TIMEOUT
public static final BuiltInConnectionProperty HTTP_RESPONSE_TIMEOUT
@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-2024 Apache Software Foundation. All Rights Reserved.