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

Public Member Functions

 ShowCreateTableStmt (TableName table)
 
String toSql ()
 
void analyze (Analyzer analyzer) throws AnalysisException
 
TTableName toThrift ()
 
void setIsExplain ()
 
boolean isExplain ()
 

Protected Attributes

boolean isExplain_ = false
 

Private Attributes

TableName tableName_
 

Detailed Description

Representation of a SHOW CREATE TABLE statement which returns the "CREATE TABLE ..." string that re-creates the table.

Syntax: SHOW CREATE TABLE

Definition at line 30 of file ShowCreateTableStmt.java.

Constructor & Destructor Documentation

com.cloudera.impala.analysis.ShowCreateTableStmt.ShowCreateTableStmt ( TableName  table)
inline

Definition at line 33 of file ShowCreateTableStmt.java.

Member Function Documentation

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

References com.cloudera.impala.analysis.TableName.isFullyQualified(), com.cloudera.impala.analysis.ShowCreateTableStmt.tableName_, and com.cloudera.impala.authorization.Privilege.VIEW_METADATA.

boolean com.cloudera.impala.analysis.StatementBase.isExplain ( )
inlineinherited
void com.cloudera.impala.analysis.StatementBase.setIsExplain ( )
inlineinherited
String com.cloudera.impala.analysis.ShowCreateTableStmt.toSql ( )
inline
Returns
SQL syntax corresponding to this node.

Implements com.cloudera.impala.analysis.ParseNode.

Definition at line 39 of file ShowCreateTableStmt.java.

References com.cloudera.impala.analysis.ShowCreateTableStmt.tableName_.

TTableName com.cloudera.impala.analysis.ShowCreateTableStmt.toThrift ( )
inline

Definition at line 53 of file ShowCreateTableStmt.java.

Member Data Documentation

TableName com.cloudera.impala.analysis.ShowCreateTableStmt.tableName_
private

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