Enum AvaticaRemoteConnectionProperty

    • Constructor Detail

      • AvaticaRemoteConnectionProperty

        private AvaticaRemoteConnectionProperty​(java.lang.String camelName,
                                                ConnectionProperty.Type type,
                                                java.lang.Object defaultValue)
    • Method Detail

      • values

        public static AvaticaRemoteConnectionProperty[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AvaticaRemoteConnectionProperty c : AvaticaRemoteConnectionProperty.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AvaticaRemoteConnectionProperty valueOf​(java.lang.String name)
        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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • camelName

        public java.lang.String camelName()
        Description copied from interface: ConnectionProperty
        The name of this property in camel-case. (E.g. "materializationsEnabled".)
        Specified by:
        camelName in interface ConnectionProperty
      • defaultValue

        public java.lang.Object defaultValue()
        Description copied from interface: ConnectionProperty
        Returns the default value of this property. The type must match its data type.
        Specified by:
        defaultValue in interface ConnectionProperty