Package io.trino.sql.tree
Class ShowGrants
- java.lang.Object
-
- io.trino.sql.tree.Node
-
- io.trino.sql.tree.Statement
-
- io.trino.sql.tree.ShowGrants
-
public class ShowGrants extends Statement
-
-
Constructor Summary
Constructors Constructor Description ShowGrants(boolean table, Optional<QualifiedName> tableName)
ShowGrants(NodeLocation location, boolean table, Optional<QualifiedName> tableName)
ShowGrants(Optional<NodeLocation> location, boolean table, Optional<QualifiedName> tableName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(AstVisitor<R,C> visitor, C context)
Accessible forAstVisitor
, useAstVisitor.process(Node, Object)
instead.boolean
equals(Object obj)
List<Node>
getChildren()
boolean
getTable()
Optional<QualifiedName>
getTableName()
int
hashCode()
String
toString()
-
Methods inherited from class io.trino.sql.tree.Node
getLocation, shallowEquals
-
-
-
-
Constructor Detail
-
ShowGrants
public ShowGrants(boolean table, Optional<QualifiedName> tableName)
-
ShowGrants
public ShowGrants(NodeLocation location, boolean table, Optional<QualifiedName> tableName)
-
ShowGrants
public ShowGrants(Optional<NodeLocation> location, boolean table, Optional<QualifiedName> tableName)
-
-
Method Detail
-
getTable
public boolean getTable()
-
getTableName
public Optional<QualifiedName> getTableName()
-
accept
public <R,C> R accept(AstVisitor<R,C> visitor, C context)
Description copied from class:Node
Accessible forAstVisitor
, useAstVisitor.process(Node, Object)
instead.
-
getChildren
public List<Node> getChildren()
- Specified by:
getChildren
in classNode
-
-