Class PrepareProcedure


public class PrepareProcedure extends DefineCommand
This class represents the statement PREPARE
  • Field Details

    • procedureName

      private String procedureName
    • prepared

      private Prepared prepared
  • Constructor Details

    • PrepareProcedure

      public PrepareProcedure(SessionLocal session)
  • Method Details

    • checkParameters

      public void checkParameters()
      Description copied from class: Prepared
      Check if all parameters have been set.
      Overrides:
      checkParameters in class Prepared
    • update

      public long update()
      Description copied from class: Prepared
      Execute the statement.
      Overrides:
      update in class Prepared
      Returns:
      the update count
    • setProcedureName

      public void setProcedureName(String name)
    • setPrepared

      public void setPrepared(Prepared prep)
    • getParameters

      public ArrayList<Parameter> getParameters()
      Description copied from class: Prepared
      Get the parameter list.
      Overrides:
      getParameters in class Prepared
      Returns:
      the parameter list
    • getType

      public int getType()
      Description copied from class: Prepared
      Get the command type as defined in CommandInterface
      Specified by:
      getType in class Prepared
      Returns:
      the statement type