Enum JdbcThinFeature

    • Enum Constant Detail

      • CUSTOM_OBJECT

        public static final JdbcThinFeature CUSTOM_OBJECT
        Whether to allow sending custom object through Thin JDBC protocol.
      • QUERY_TIMEOUT

        public static final JdbcThinFeature QUERY_TIMEOUT
        Add ability to set explicit query timeout on the cluster node by the JDBC client.
      • TX_AWARE_QUERIES

        public static final JdbcThinFeature TX_AWARE_QUERIES
        Transaction aware queries.
    • Method Detail

      • values

        public static JdbcThinFeature[] 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 (JdbcThinFeature c : JdbcThinFeature.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static JdbcThinFeature valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • enumSet

        public static EnumSet<JdbcThinFeature> enumSet​(byte[] bytes)
        Parameters:
        bytes - Feature byte array.
        Returns:
        Set of supported features.