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

Public Member Functions

 DropStatsStmt (TableName tableName)
 
 DropStatsStmt (TableName tableName, PartitionSpec partSpec)
 
String toSql ()
 
TDropStatsParams toThrift ()
 
void analyze (Analyzer analyzer) throws AnalysisException
 
String getDb ()
 
String getTbl ()
 
void setIsExplain ()
 
boolean isExplain ()
 

Protected Attributes

final TableName tableName_
 
String dbName_
 
boolean isExplain_ = false
 

Package Attributes

PartitionSpec partitionSpec_ = null
 

Detailed Description

Represents both a DROP STATS statement, and the DROP INCREMENTAL STATS <tbl> PARTITION <part_spec> variant.

Definition at line 28 of file DropStatsStmt.java.

Constructor & Destructor Documentation

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

Constructor for building the DROP TABLE/VIEW statement

Definition at line 40 of file DropStatsStmt.java.

com.cloudera.impala.analysis.DropStatsStmt.DropStatsStmt ( TableName  tableName,
PartitionSpec  partSpec 
)
inline

Definition at line 44 of file DropStatsStmt.java.

Member Function Documentation

void com.cloudera.impala.analysis.DropStatsStmt.analyze ( Analyzer  analyzer) throws AnalysisException
inline
String com.cloudera.impala.analysis.DropStatsStmt.getDb ( )
inline

Can only be called after analysis. Returns the name of the database that the target drop table resides in.

Definition at line 96 of file DropStatsStmt.java.

References com.cloudera.impala.analysis.DropStatsStmt.dbName_.

Referenced by com.cloudera.impala.analysis.DropStatsStmt.toThrift().

String com.cloudera.impala.analysis.DropStatsStmt.getTbl ( )
inline
boolean com.cloudera.impala.analysis.StatementBase.isExplain ( )
inlineinherited
void com.cloudera.impala.analysis.StatementBase.setIsExplain ( )
inlineinherited
String com.cloudera.impala.analysis.DropStatsStmt.toSql ( )
inline
TDropStatsParams com.cloudera.impala.analysis.DropStatsStmt.toThrift ( )
inline

Member Data Documentation

String com.cloudera.impala.analysis.DropStatsStmt.dbName_
protected
PartitionSpec com.cloudera.impala.analysis.DropStatsStmt.partitionSpec_ = null
package
final TableName com.cloudera.impala.analysis.DropStatsStmt.tableName_
protected

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