Class DbProcedure

java.lang.Object
org.h2.bnf.context.DbProcedure

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

    • schema

      private final DbSchema schema
    • name

      private final String name
    • quotedName

      private final String quotedName
    • returnsResult

      private final boolean returnsResult
    • parameters

      private DbColumn[] parameters
  • Constructor Details

  • Method Details

    • getSchema

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

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

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

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

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

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