Enum ArrowFlightConnectionConfigImpl.ArrowFlightConnectionProperty
java.lang.Object
java.lang.Enum<ArrowFlightConnectionConfigImpl.ArrowFlightConnectionProperty>
org.apache.arrow.driver.jdbc.utils.ArrowFlightConnectionConfigImpl.ArrowFlightConnectionProperty
- All Implemented Interfaces:
Serializable
,Comparable<ArrowFlightConnectionConfigImpl.ArrowFlightConnectionProperty>
,java.lang.constant.Constable
,org.apache.calcite.avatica.ConnectionProperty
- Enclosing class:
- ArrowFlightConnectionConfigImpl
public static enum ArrowFlightConnectionConfigImpl.ArrowFlightConnectionProperty
extends Enum<ArrowFlightConnectionConfigImpl.ArrowFlightConnectionProperty>
implements org.apache.calcite.avatica.ConnectionProperty
Custom
ConnectionProperty
for the ArrowFlightConnectionConfigImpl
.-
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
org.apache.calcite.avatica.ConnectionProperty.Type
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionget
(Properties properties) Gets the property.getBoolean
(Properties properties) Gets the property as Boolean.getInteger
(Properties properties) Gets the property as Integer.getString
(Properties properties) Gets the property as String.static String
replaceSemiColons
(String url) Replaces the semicolons in the URL to the proper format.boolean
required()
org.apache.calcite.avatica.ConnectionProperty.Type
type()
Class<?>
Returns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.org.apache.calcite.avatica.ConnectionConfigImpl.PropEnv
wrap
(Properties properties) Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface org.apache.calcite.avatica.ConnectionProperty
name
-
Enum Constant Details
-
HOST
-
PORT
-
USER
-
PASSWORD
-
USE_ENCRYPTION
-
CERTIFICATE_VERIFICATION
public static final ArrowFlightConnectionConfigImpl.ArrowFlightConnectionProperty CERTIFICATE_VERIFICATION -
TRUST_STORE
-
TRUST_STORE_PASSWORD
public static final ArrowFlightConnectionConfigImpl.ArrowFlightConnectionProperty TRUST_STORE_PASSWORD -
USE_SYSTEM_TRUST_STORE
public static final ArrowFlightConnectionConfigImpl.ArrowFlightConnectionProperty USE_SYSTEM_TRUST_STORE -
TLS_ROOT_CERTS
-
CLIENT_CERTIFICATE
public static final ArrowFlightConnectionConfigImpl.ArrowFlightConnectionProperty CLIENT_CERTIFICATE -
CLIENT_KEY
-
THREAD_POOL_SIZE
-
TOKEN
-
RETAIN_COOKIES
-
RETAIN_AUTH
-
CATALOG
-
-
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
-
get
Gets the property.- Parameters:
properties
- the properties from which to fetch this property.- Returns:
- the property.
-
getBoolean
Gets the property as Boolean.- Parameters:
properties
- the properties from which to fetch this property.- Returns:
- the property.
-
getInteger
Gets the property as Integer.- Parameters:
properties
- the properties from which to fetch this property.- Returns:
- the property.
-
getString
Gets the property as String.- Parameters:
properties
- the properties from which to fetch this property.- Returns:
- the property.
-
camelName
- Specified by:
camelName
in interfaceorg.apache.calcite.avatica.ConnectionProperty
-
defaultValue
- Specified by:
defaultValue
in interfaceorg.apache.calcite.avatica.ConnectionProperty
-
type
public org.apache.calcite.avatica.ConnectionProperty.Type type()- Specified by:
type
in interfaceorg.apache.calcite.avatica.ConnectionProperty
-
wrap
- Specified by:
wrap
in interfaceorg.apache.calcite.avatica.ConnectionProperty
-
required
public boolean required()- Specified by:
required
in interfaceorg.apache.calcite.avatica.ConnectionProperty
-
valueClass
- Specified by:
valueClass
in interfaceorg.apache.calcite.avatica.ConnectionProperty
-
replaceSemiColons
Replaces the semicolons in the URL to the proper format.- Parameters:
url
- the current connection string- Returns:
- the formatted url
-