Enum MetaDataOperation

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<MetaDataOperation>

    public enum MetaDataOperation
    extends java.lang.Enum<MetaDataOperation>
    Identifies an operation from DatabaseMetaData which returns a ResultSet. This enum is used to allow clients to request the server to re-instantiate a ResultSet for these operations which do not have a SQL string associated with them as a normal query does.
    • Constructor Detail

      • MetaDataOperation

        private MetaDataOperation()
    • Method Detail

      • values

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

        public static MetaDataOperation 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