Package io.trino.sql.tree
Class Revoke
java.lang.Object
io.trino.sql.tree.Node
io.trino.sql.tree.Statement
io.trino.sql.tree.Revoke
-
Constructor Summary
ConstructorsConstructorDescriptionRevoke(boolean grantOptionFor, Optional<List<String>> privileges, Optional<GrantOnType> type, QualifiedName name, PrincipalSpecification grantee) Revoke(NodeLocation location, boolean grantOptionFor, 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()booleantoString()Methods inherited from class io.trino.sql.tree.Node
getLocation, shallowEquals
-
Constructor Details
-
Revoke
public Revoke(boolean grantOptionFor, Optional<List<String>> privileges, Optional<GrantOnType> type, QualifiedName name, PrincipalSpecification grantee) -
Revoke
public Revoke(NodeLocation location, boolean grantOptionFor, Optional<List<String>> privileges, Optional<GrantOnType> type, QualifiedName name, PrincipalSpecification grantee)
-
-
Method Details
-
isGrantOptionFor
public boolean isGrantOptionFor() -
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
-