Class DropSynonym


public class DropSynonym extends SchemaOwnerCommand
This class represents the statement DROP SYNONYM
  • Field Details

    • synonymName

      private String synonymName
    • ifExists

      private boolean ifExists
  • Constructor Details

  • Method Details

    • setSynonymName

      public void setSynonymName(String name)
    • update

      long update(Schema schema)
      Specified by:
      update in class SchemaOwnerCommand
    • setIfExists

      public void setIfExists(boolean ifExists)
    • 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