Class DbProcedure


  • public class DbProcedure
    extends java.lang.Object
    Contains meta data information about a procedure. This class is used by the H2 Console.
    • Field Detail

      • name

        private final java.lang.String name
      • quotedName

        private final java.lang.String quotedName
      • returnsResult

        private final boolean returnsResult
      • parameters

        private DbColumn[] parameters
    • Constructor Detail

      • DbProcedure

        public DbProcedure​(DbSchema schema,
                           java.sql.ResultSet rs)
                    throws java.sql.SQLException
        Throws:
        java.sql.SQLException
    • Method Detail

      • getSchema

        public DbSchema getSchema()
        Returns:
        The schema this table belongs to.
      • getParameters

        public DbColumn[] getParameters()
        Returns:
        The column list.
      • getName

        public java.lang.String getName()
        Returns:
        The table name.
      • getQuotedName

        public java.lang.String getQuotedName()
        Returns:
        The quoted table name.
      • isReturnsResult

        public boolean isReturnsResult()
        Returns:
        True if this function return a value
      • readParameters

        void readParameters​(java.sql.DatabaseMetaData meta)
                     throws java.sql.SQLException
        Read the column for this table from the database meta data.
        Parameters:
        meta - the database meta data
        Throws:
        java.sql.SQLException - on failure