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

Public Member Functions

 GrantRevokeRoleStmt (String roleName, String groupName, boolean isGrantStmt)
 
String toSql ()
 
TGrantRevokeRoleParams toThrift ()
 
void analyze (Analyzer analyzer) throws AnalysisException
 
void setIsExplain ()
 
boolean isExplain ()
 

Protected Attributes

User requestingUser_
 
boolean isExplain_ = false
 

Private Attributes

final String roleName_
 
final String groupName_
 
final boolean isGrantStmt_
 

Detailed Description

Represents a "GRANT/REVOKE ROLE" statement.

Definition at line 26 of file GrantRevokeRoleStmt.java.

Constructor & Destructor Documentation

com.cloudera.impala.analysis.GrantRevokeRoleStmt.GrantRevokeRoleStmt ( String  roleName,
String  groupName,
boolean  isGrantStmt 
)
inline

Member Function Documentation

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

References com.cloudera.impala.analysis.GrantRevokeRoleStmt.groupName_, and com.cloudera.impala.analysis.GrantRevokeRoleStmt.roleName_.

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

Member Data Documentation

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

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