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

Public Member Functions

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

Protected Attributes

boolean isExplain_ = false
 

Detailed Description

Base class for all Impala SQL statements.

Definition at line 22 of file StatementBase.java.

Member Function Documentation

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

Analyzes the statement and throws an AnalysisException if analysis fails. A failure could be due to a problem with the statement or because one or more tables/views were missing from the catalog. It is up to the analysis() implementation to ensure the maximum number of missing tables/views get collected in the Analyzer before failing analyze().

Implements com.cloudera.impala.analysis.ParseNode.

Definition at line 33 of file StatementBase.java.

References com.cloudera.impala.analysis.StatementBase.isExplain_.

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

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


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