Enum AvaticaRemoteConnectionProperty
java.lang.Object
java.lang.Enum<AvaticaRemoteConnectionProperty>
org.apache.calcite.avatica.remote.AvaticaRemoteConnectionProperty
- All Implemented Interfaces:
Serializable,Comparable<AvaticaRemoteConnectionProperty>,java.lang.constant.Constable,ConnectionProperty
public enum AvaticaRemoteConnectionProperty
extends Enum<AvaticaRemoteConnectionProperty>
implements ConnectionProperty
Enumeration of Avatica remote driver'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 Constants -
Method Summary
Modifier and TypeMethodDescriptionThe name of this property in camel-case.Returns the default value of this property.booleanrequired()Whether the property is mandatory.type()Returns the data type of this property.Class of values that this property can take.Returns the enum constant of this type with the specified name.static AvaticaRemoteConnectionProperty[]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.
-
-
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
-
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
-
required
public boolean required()Description copied from interface:ConnectionPropertyWhether the property is mandatory.- Specified by:
requiredin interfaceConnectionProperty
-