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

Public Member Functions

 ShowRolesStmt (boolean isShowCurrentRoles, String groupName)
 
String toSql ()
 
TShowRolesParams toThrift ()
 
void analyze (Analyzer analyzer) throws AnalysisException
 
void setIsExplain ()
 
boolean isExplain ()
 

Protected Attributes

boolean isExplain_ = false
 

Private Attributes

final String groupName_
 
final boolean isShowCurrentRoles_
 
User requestingUser_
 

Detailed Description

Represents "SHOW [CURRENT] ROLES" and "SHOW ROLE GRANT GROUP <groupName>" statements.

Definition at line 26 of file ShowRolesStmt.java.

Constructor & Destructor Documentation

com.cloudera.impala.analysis.ShowRolesStmt.ShowRolesStmt ( boolean  isShowCurrentRoles,
String  groupName 
)
inline

Member Function Documentation

void com.cloudera.impala.analysis.ShowRolesStmt.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 64 of file ShowRolesStmt.java.

References com.cloudera.impala.analysis.ShowRolesStmt.requestingUser_.

boolean com.cloudera.impala.analysis.StatementBase.isExplain ( )
inlineinherited
void com.cloudera.impala.analysis.StatementBase.setIsExplain ( )
inlineinherited
String com.cloudera.impala.analysis.ShowRolesStmt.toSql ( )
inline
TShowRolesParams com.cloudera.impala.analysis.ShowRolesStmt.toThrift ( )
inline

Member Data Documentation

final String com.cloudera.impala.analysis.ShowRolesStmt.groupName_
private
final boolean com.cloudera.impala.analysis.ShowRolesStmt.isShowCurrentRoles_
private
User com.cloudera.impala.analysis.ShowRolesStmt.requestingUser_
private

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