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

Public Member Functions

void analyze (Analyzer analyzer) throws AnalysisException
 
String toSql ()
 
void setIsExplain ()
 
boolean isExplain ()
 

Protected Attributes

User requestingUser_
 
boolean isExplain_ = false
 

Detailed Description

Base class for all authorization statements - CREATE/DROP/SHOW ROLE, GRANT/REVOKE ROLE/privilege, etc.

Definition at line 25 of file AuthorizationStmt.java.

Member Function Documentation

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

References com.cloudera.impala.analysis.AuthorizationStmt.requestingUser_.

boolean com.cloudera.impala.analysis.StatementBase.isExplain ( )
inlineinherited
void com.cloudera.impala.analysis.StatementBase.setIsExplain ( )
inlineinherited
String com.cloudera.impala.analysis.StatementBase.toSql ( )
inlineinherited

Print SQL syntax corresponding to this node.

See Also
com.cloudera.impala.parser.ParseNode::toSql()

Implements com.cloudera.impala.analysis.ParseNode.

Definition at line 41 of file StatementBase.java.

Referenced by com.cloudera.impala.analysis.CreateUdaStmt.analyze(), and com.cloudera.impala.analysis.QueryStmt.createSortInfo().

Member Data Documentation

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

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