Class GrantRoleNode

  • All Implemented Interfaces:
    Visitable

    class GrantRoleNode
    extends DDLStatementNode
    This class represents a GRANT role statement.
    • Field Detail

      • roles

        private java.util.List<java.lang.String> roles
      • grantees

        private java.util.List<java.lang.String> grantees
    • Constructor Detail

      • GrantRoleNode

        GrantRoleNode​(java.util.List<java.lang.String> roles,
                      java.util.List<java.lang.String> grantees,
                      ContextManager cm)
               throws StandardException
        Constructor for GrantRoleNode.
        Parameters:
        roles - list of strings containing role name to be granted
        grantees - list of strings containing grantee names
        cm - context manager
        Throws:
        StandardException