Class DropDatabase


public class DropDatabase extends DefineCommand
This class represents the statement DROP ALL OBJECTS
  • Field Details

    • dropAllObjects

      private boolean dropAllObjects
    • deleteFiles

      private boolean deleteFiles
  • Constructor Details

  • Method Details

    • update

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

      private void dropAllObjects()
    • addAll

      private static void addAll(Collection<Schema> schemas, int type, ArrayList<SchemaObject> list)
    • setDropAllObjects

      public void setDropAllObjects(boolean b)
    • setDeleteFiles

      public void setDeleteFiles(boolean b)
    • 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