Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
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 |
Represents both a DROP STATS statement, and the DROP INCREMENTAL STATS <tbl> PARTITION <part_spec> variant.
Definition at line 28 of file DropStatsStmt.java.
|
inline |
Constructor for building the DROP TABLE/VIEW statement
Definition at line 40 of file DropStatsStmt.java.
|
inline |
Definition at line 44 of file DropStatsStmt.java.
|
inline |
Checks that the given table exists and the user has privileges to drop stats on this table.
Implements com.cloudera.impala.analysis.ParseNode.
Definition at line 80 of file DropStatsStmt.java.
References com.cloudera.impala.authorization.Privilege.ALTER, com.cloudera.impala.analysis.DropStatsStmt.dbName_, com.cloudera.impala.analysis.DropStatsStmt.partitionSpec_, and com.cloudera.impala.analysis.DropStatsStmt.tableName_.
|
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().
|
inline |
Definition at line 101 of file DropStatsStmt.java.
Referenced by com.cloudera.impala.analysis.DropStatsStmt.toThrift().
|
inlineinherited |
Definition at line 43 of file StatementBase.java.
References com.cloudera.impala.analysis.StatementBase.isExplain_.
|
inlineinherited |
Definition at line 42 of file StatementBase.java.
References com.cloudera.impala.analysis.StatementBase.isExplain_.
|
inline |
Implements com.cloudera.impala.analysis.ParseNode.
Definition at line 50 of file DropStatsStmt.java.
References com.cloudera.impala.analysis.TableName.getDb(), com.cloudera.impala.analysis.DropStatsStmt.partitionSpec_, and com.cloudera.impala.analysis.DropStatsStmt.tableName_.
|
inline |
Definition at line 65 of file DropStatsStmt.java.
References com.cloudera.impala.analysis.DropStatsStmt.getDb(), com.cloudera.impala.analysis.DropStatsStmt.getTbl(), and com.cloudera.impala.analysis.DropStatsStmt.partitionSpec_.
|
protected |
Definition at line 35 of file DropStatsStmt.java.
Referenced by com.cloudera.impala.analysis.DropStatsStmt.analyze(), and com.cloudera.impala.analysis.DropStatsStmt.getDb().
|
protectedinherited |
|
package |
Definition at line 32 of file DropStatsStmt.java.
Referenced by com.cloudera.impala.analysis.DropStatsStmt.analyze(), com.cloudera.impala.analysis.DropStatsStmt.toSql(), and com.cloudera.impala.analysis.DropStatsStmt.toThrift().
|
protected |
Definition at line 29 of file DropStatsStmt.java.
Referenced by com.cloudera.impala.analysis.DropStatsStmt.analyze(), and com.cloudera.impala.analysis.DropStatsStmt.toSql().