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.booleanequals(Object obj)List<Node>getChildren()booleangetTable()Optional<QualifiedName>getTableName()inthashCode()StringtoString()-
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:NodeAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead.
-
getChildren
public List<Node> getChildren()
- Specified by:
getChildrenin classNode
-
-