Class ProcedureMetadata


  • public final class ProcedureMetadata
    extends MetadataItem
    This class represents the database metadata for a stored procedure.
    Since:
    10.1
    • Constructor Detail

      • ProcedureMetadata

        public ProcedureMetadata​(String name,
                                 String description,
                                 boolean returnsTable,
                                 ProcedureMetadata.Parameter[] parameters)
        Create a new ProcedureMetadata object.
        Parameters:
        name - The name of the procedure.
        description - Description text. May be null.
        returnsTable - true if the procedure is a table function.
        parameters - The in-parameters of the procedure. Null will give an empty list.
    • Method Detail

      • getDescription

        public String getDescription()
        Returns the description.
        Returns:
        the procedure description
      • getReturnsTable

        public boolean getReturnsTable()
        Specifies if a table is returned by the procedure.
        Returns:
        true if returns a table, false otherwise