Package org.apache.calcite.avatica
Enum BuiltInConnectionProperty
- All Implemented Interfaces:
Serializable,Comparable<BuiltInConnectionProperty>,java.lang.constant.Constable,ConnectionProperty
public enum BuiltInConnectionProperty
extends Enum<BuiltInConnectionProperty>
implements ConnectionProperty
Enumeration of Avatica's built-in connection properties.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface org.apache.calcite.avatica.ConnectionProperty
ConnectionProperty.Type -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe type of authentication to be usedAvatica-based authentication passwordAvatica-based authentication user nameFactory.Factory for constructing http clients.HttpClient implementation class name.Password for the key inside keystoreKeystore for MTLS authenticationPassword for the keystoreKeytab to use to perform Kerberos login.Principal to use to perform Kerberos login.Name of initial schema.Serialization used over remote connectionsTime zone, for example 'gmt-3'.Truststore for SSL/TLS communicationPassword for the truststoreRemote URL. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionThe name of this property in camel-case.Returns the default value of this property.static booleanisLocalProperty(Object propertyName) Checks if the given property only applicable to the remote driver (should not be sent to the Avatica server).booleanrequired()Whether the property is mandatory.type()Returns the data type of this property.Class of values that this property can take.static BuiltInConnectionPropertyReturns 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.wrap(Properties properties) Wraps this property with a properties object from which its value can be obtained when needed.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.apache.calcite.avatica.ConnectionProperty
name
-
Enum Constant Details
-
FACTORY
Factory. -
SCHEMA
Name of initial schema. -
TIME_ZONE
Time zone, for example 'gmt-3'. Default is the JVM's time zone. -
URL
Remote URL. -
SERIALIZATION
Serialization used over remote connections -
AUTHENTICATION
The type of authentication to be used -
AVATICA_USER
Avatica-based authentication user name -
AVATICA_PASSWORD
Avatica-based authentication password -
HTTP_CLIENT_FACTORY
Factory for constructing http clients. -
HTTP_CLIENT_IMPL
HttpClient implementation class name. -
PRINCIPAL
Principal to use to perform Kerberos login. -
KEYTAB
Keytab to use to perform Kerberos login. -
TRUSTSTORE
Truststore for SSL/TLS communication -
TRUSTSTORE_PASSWORD
Password for the truststore -
KEYSTORE
Keystore for MTLS authentication -
KEYSTORE_PASSWORD
Password for the keystore -
KEY_PASSWORD
Password for the key inside keystore -
HOSTNAME_VERIFICATION
-
TRANSPARENT_RECONNECTION
-
-
Field Details
-
TIMEZONE
Deprecated.Deprecated; useTIME_ZONE.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
camelName
Description copied from interface:ConnectionPropertyThe name of this property in camel-case. (E.g. "materializationsEnabled".)- Specified by:
camelNamein interfaceConnectionProperty
-
defaultValue
Description copied from interface:ConnectionPropertyReturns the default value of this property. The type must match its data type.- Specified by:
defaultValuein interfaceConnectionProperty
-
type
Description copied from interface:ConnectionPropertyReturns the data type of this property.- Specified by:
typein interfaceConnectionProperty
-
required
public boolean required()Description copied from interface:ConnectionPropertyWhether the property is mandatory.- Specified by:
requiredin interfaceConnectionProperty
-
valueClass
Description copied from interface:ConnectionPropertyClass of values that this property can take. Most useful forConnectionProperty.Type.ENUMproperties.- Specified by:
valueClassin interfaceConnectionProperty
-
wrap
Description copied from interface:ConnectionPropertyWraps this property with a properties object from which its value can be obtained when needed.- Specified by:
wrapin interfaceConnectionProperty
-
isLocalProperty
Checks if the given property only applicable to the remote driver (should not be sent to the Avatica server).- Parameters:
propertyName- Name of the property- Returns:
- True if the property denoted by the given name is only relevant locally, otherwise false.
-