Class ProcedureMetadata

java.lang.Object
com.spotfire.ws.im.ds.MetadataItem
com.spotfire.ws.im.ds.ProcedureMetadata

public final class ProcedureMetadata extends MetadataItem
This class represents the database metadata for a stored procedure.
Since:
3.0
  • Field Details

  • Constructor Details

    • 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 Details

    • getDescription

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

      public ProcedureMetadata.Parameter[] getParameters()
      Returns the procedure parameters.
      Returns:
      the parameters
    • getReturnsTable

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