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

Public Member Functions

 CreateDropRoleStmt (String roleName, boolean isDropRole)
 
String toSql ()
 
TCreateDropRoleParams toThrift ()
 
void analyze (Analyzer analyzer) throws AnalysisException
 
void setIsExplain ()
 
boolean isExplain ()
 

Protected Attributes

User requestingUser_
 
boolean isExplain_ = false
 

Private Attributes

final String roleName_
 
final boolean isDropRole_
 
String user_
 

Detailed Description

Represents a "CREATE ROLE" or "DROP ROLE" statement.

Definition at line 25 of file CreateDropRoleStmt.java.

Constructor & Destructor Documentation

com.cloudera.impala.analysis.CreateDropRoleStmt.CreateDropRoleStmt ( String  roleName,
boolean  isDropRole 
)
inline

Member Function Documentation

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

References com.cloudera.impala.analysis.CreateDropRoleStmt.isDropRole_, and com.cloudera.impala.analysis.CreateDropRoleStmt.roleName_.

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

Member Data Documentation

User com.cloudera.impala.analysis.AuthorizationStmt.requestingUser_
protectedinherited
String com.cloudera.impala.analysis.CreateDropRoleStmt.user_
private

Definition at line 30 of file CreateDropRoleStmt.java.


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