Class DropRoleNode

All Implemented Interfaces:
Visitable

class DropRoleNode extends DDLStatementNode
A DropRoleNode is the root of a QueryTree that represents a DROP ROLE statement.
  • Field Details

    • roleName

      private String roleName
  • Constructor Details

  • Method Details

    • bindStatement

      public void bindStatement() throws StandardException
      Description copied from class: StatementNode
      Perform the binding operation statement. Binding consists of permissions checking, view resolution, datatype resolution, and creation of a dependency list (for determining whether a tree or plan is still up to date). This bindStatement() method does nothing. Each StatementNode type that can appear at the top of a tree can override this method with its own bindStatement() method that does "something".
      Overrides:
      bindStatement in class StatementNode
      Throws:
      StandardException - Thrown on error
    • toString

      public String toString()
      Convert this object to a String. See comments in QueryTreeNode.java for how this should be done for tree printing.
      Overrides:
      toString in class DDLStatementNode
      Returns:
      This object as a String
    • statementToString

      public String statementToString()
      Specified by:
      statementToString in class StatementNode
    • makeConstantAction

      public ConstantAction makeConstantAction() throws StandardException
      Create the Constant information that will drive the guts of Execution.
      Overrides:
      makeConstantAction in class QueryTreeNode
      Throws:
      StandardException - Thrown on failure