Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
com.cloudera.impala.analysis.ShowGrantRoleStmt Class Reference
Inheritance diagram for com.cloudera.impala.analysis.ShowGrantRoleStmt:
Collaboration diagram for com.cloudera.impala.analysis.ShowGrantRoleStmt:

Public Member Functions

 ShowGrantRoleStmt (String roleName, PrivilegeSpec privilegeSpec)
 
TShowGrantRoleParams toThrift ()
 
String toSql ()
 
void analyze (Analyzer analyzer) throws AnalysisException
 
Role getRole ()
 
void setIsExplain ()
 
boolean isExplain ()
 

Protected Attributes

User requestingUser_
 
boolean isExplain_ = false
 

Private Attributes

final PrivilegeSpec privilegeSpec_
 
final String roleName_
 
Role role_
 

Detailed Description

Represents a "SHOW GRANT ROLE <role> [ON <privilegeSpec>]" statement.

Definition at line 26 of file ShowGrantRoleStmt.java.

Constructor & Destructor Documentation

com.cloudera.impala.analysis.ShowGrantRoleStmt.ShowGrantRoleStmt ( String  roleName,
PrivilegeSpec  privilegeSpec 
)
inline

Member Function Documentation

void com.cloudera.impala.analysis.ShowGrantRoleStmt.analyze ( Analyzer  analyzer) throws AnalysisException
inline

Perform semantic analysis of node and all of its children. Throws exception if any errors found.

Parameters
analyzer
Exceptions
AnalysisException

Implements com.cloudera.impala.analysis.ParseNode.

Definition at line 59 of file ShowGrantRoleStmt.java.

References com.cloudera.impala.analysis.ShowGrantRoleStmt.privilegeSpec_, com.cloudera.impala.analysis.ShowGrantRoleStmt.role_, and com.cloudera.impala.analysis.ShowGrantRoleStmt.roleName_.

Role com.cloudera.impala.analysis.ShowGrantRoleStmt.getRole ( )
inline
boolean com.cloudera.impala.analysis.StatementBase.isExplain ( )
inlineinherited
void com.cloudera.impala.analysis.StatementBase.setIsExplain ( )
inlineinherited
String com.cloudera.impala.analysis.ShowGrantRoleStmt.toSql ( )
inline

Member Data Documentation

User com.cloudera.impala.analysis.AuthorizationStmt.requestingUser_
protectedinherited

The documentation for this class was generated from the following file: