public class Revoke extends Statement
Constructor and Description |
---|
Revoke(boolean grantOptionFor,
Optional<List<String>> privileges,
boolean table,
QualifiedName tableName,
PrincipalSpecification grantee) |
Revoke(NodeLocation location,
boolean grantOptionFor,
Optional<List<String>> privileges,
boolean table,
QualifiedName tableName,
PrincipalSpecification grantee) |
Modifier and Type | Method and Description |
---|---|
<R,C> R |
accept(AstVisitor<R,C> visitor,
C context)
Accessible for
AstVisitor , use AstVisitor.process(Node, Object) instead. |
boolean |
equals(Object obj) |
List<Node> |
getChildren() |
PrincipalSpecification |
getGrantee() |
Optional<List<String>> |
getPrivileges() |
QualifiedName |
getTableName() |
int |
hashCode() |
boolean |
isGrantOptionFor() |
boolean |
isTable() |
String |
toString() |
getLocation
public Revoke(boolean grantOptionFor, Optional<List<String>> privileges, boolean table, QualifiedName tableName, PrincipalSpecification grantee)
public Revoke(NodeLocation location, boolean grantOptionFor, Optional<List<String>> privileges, boolean table, QualifiedName tableName, PrincipalSpecification grantee)
public boolean isGrantOptionFor()
public boolean isTable()
public QualifiedName getTableName()
public PrincipalSpecification getGrantee()
public <R,C> R accept(AstVisitor<R,C> visitor, C context)
Node
AstVisitor
, use AstVisitor.process(Node, Object)
instead.public List<Node> getChildren()
getChildren
in class Node
Copyright © 2012–2020. All rights reserved.