Package io.trino.sql.tree
Class Deny
java.lang.Object
io.trino.sql.tree.Node
io.trino.sql.tree.Statement
io.trino.sql.tree.Deny
-
Constructor Summary
ConstructorsConstructorDescriptionDeny(NodeLocation location, Optional<List<String>> privileges, Optional<GrantOnType> type, QualifiedName name, PrincipalSpecification grantee) Deny(Optional<List<String>> privileges, Optional<GrantOnType> type, QualifiedName name, PrincipalSpecification grantee) -
Method Summary
Modifier and TypeMethodDescription<R,C> R accept(AstVisitor<R, C> visitor, C context) Accessible forAstVisitor, useAstVisitor.process(Node, Object)instead.booleangetName()getType()inthashCode()toString()Methods inherited from class io.trino.sql.tree.Node
getLocation, shallowEquals
-
Constructor Details
-
Deny
public Deny(Optional<List<String>> privileges, Optional<GrantOnType> type, QualifiedName name, PrincipalSpecification grantee) -
Deny
public Deny(NodeLocation location, Optional<List<String>> privileges, Optional<GrantOnType> type, QualifiedName name, PrincipalSpecification grantee)
-
-
Method Details
-
getPrivileges
-
getType
-
getName
-
getGrantee
-
accept
Description copied from class:NodeAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead. -
getChildren
- Specified by:
getChildrenin classNode
-
hashCode
public int hashCode() -
equals
-
toString
-