Class DropRole


  • public class DropRole
    extends DefineCommand
    This class represents the statement DROP ROLE
    • Field Detail

      • roleName

        private java.lang.String roleName
      • ifExists

        private boolean ifExists
    • Constructor Detail

    • Method Detail

      • setRoleName

        public void setRoleName​(java.lang.String roleName)
      • update

        public long update()
        Description copied from class: Prepared
        Execute the statement.
        Overrides:
        update in class Prepared
        Returns:
        the update count
      • 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