public class Grant extends Statement
| Constructor and Description |
|---|
Grant(NodeLocation location,
Optional<List<String>> privileges,
boolean table,
QualifiedName tableName,
PrincipalSpecification grantee,
boolean withGrantOption) |
Grant(Optional<List<String>> privileges,
boolean table,
QualifiedName tableName,
PrincipalSpecification grantee,
boolean withGrantOption) |
| 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 |
isTable() |
boolean |
isWithGrantOption() |
String |
toString() |
getLocationpublic Grant(Optional<List<String>> privileges, boolean table, QualifiedName tableName, PrincipalSpecification grantee, boolean withGrantOption)
public Grant(NodeLocation location, Optional<List<String>> privileges, boolean table, QualifiedName tableName, PrincipalSpecification grantee, boolean withGrantOption)
public boolean isTable()
public QualifiedName getTableName()
public PrincipalSpecification getGrantee()
public boolean isWithGrantOption()
public <R,C> R accept(AstVisitor<R,C> visitor, C context)
NodeAstVisitor, use AstVisitor.process(Node, Object) instead.public List<Node> getChildren()
getChildren in class NodeCopyright © 2012–2023. All rights reserved.