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

Public Member Functions

 ShowPartitionsStmt (TableName tableName)
 
String toSql ()
 
void analyze (Analyzer analyzer) throws AnalysisException
 
TShowStatsParams toThrift ()
 
void setIsExplain ()
 
boolean isExplain ()
 

Protected Member Functions

String getSqlPrefix ()
 

Protected Attributes

final boolean isShowColStats_
 
final TableName tableName_
 
Table table_
 
boolean isExplain_ = false
 

Detailed Description

Representation of a SHOW PARTITIONS statement for displaying partition information on a given table.

Definition at line 25 of file ShowPartitionsStmt.java.

Constructor & Destructor Documentation

com.cloudera.impala.analysis.ShowPartitionsStmt.ShowPartitionsStmt ( TableName  tableName)
inline

Definition at line 27 of file ShowPartitionsStmt.java.

Member Function Documentation

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

References com.cloudera.impala.catalog.Table.getFullName(), com.cloudera.impala.catalog.Table.getNumClusteringCols(), com.cloudera.impala.analysis.ShowPartitionsStmt.getSqlPrefix(), and com.cloudera.impala.analysis.ShowStatsStmt.table_.

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

Implements com.cloudera.impala.analysis.ParseNode.

Definition at line 32 of file ShowPartitionsStmt.java.

References com.cloudera.impala.analysis.ShowPartitionsStmt.getSqlPrefix().

TShowStatsParams com.cloudera.impala.analysis.ShowStatsStmt.toThrift ( )
inlineinherited

Member Data Documentation

final boolean com.cloudera.impala.analysis.ShowStatsStmt.isShowColStats_
protectedinherited
Table com.cloudera.impala.analysis.ShowStatsStmt.table_
protectedinherited
final TableName com.cloudera.impala.analysis.ShowStatsStmt.tableName_
protectedinherited

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