Class PrepareProcedure


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

      • procedureName

        private java.lang.String procedureName
    • Constructor Detail

      • PrepareProcedure

        public PrepareProcedure​(SessionLocal session)
    • Method Detail

      • 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​(java.lang.String name)
      • setPrepared

        public void setPrepared​(Prepared prep)
      • getParameters

        public java.util.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