Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Public Member Functions | |
DropTableOrViewStmt (TableName tableName, boolean ifExists, boolean dropTable) | |
String | toSql () |
TDropTableOrViewParams | toThrift () |
void | analyze (Analyzer analyzer) throws AnalysisException |
String | getDb () |
String | getTbl () |
boolean | getIfExists () |
boolean | isDropTable () |
void | setIsExplain () |
boolean | isExplain () |
Protected Attributes | |
final TableName | tableName_ |
final boolean | ifExists_ |
final boolean | dropTable_ |
String | dbName_ |
boolean | isExplain_ = false |
Represents a DROP TABLE/VIEW [IF EXISTS] statement
Definition at line 28 of file DropTableOrViewStmt.java.
|
inline |
Constructor for building the DROP TABLE/VIEW statement
Definition at line 41 of file DropTableOrViewStmt.java.
|
inline |
Implements com.cloudera.impala.analysis.ParseNode.
Definition at line 71 of file DropTableOrViewStmt.java.
References com.cloudera.impala.analysis.DropTableOrViewStmt.dbName_, com.cloudera.impala.authorization.Privilege.DROP, com.cloudera.impala.analysis.DropTableOrViewStmt.dropTable_, com.cloudera.impala.analysis.DropTableOrViewStmt.getTbl(), com.cloudera.impala.analysis.DropTableOrViewStmt.ifExists_, and com.cloudera.impala.analysis.DropTableOrViewStmt.tableName_.
|
inline |
Can only be called after analysis. Returns the name of the database that the target drop table resides in.
Definition at line 94 of file DropTableOrViewStmt.java.
References com.cloudera.impala.analysis.DropTableOrViewStmt.dbName_.
Referenced by com.cloudera.impala.analysis.DropTableOrViewStmt.toThrift().
|
inline |
Definition at line 100 of file DropTableOrViewStmt.java.
Referenced by com.cloudera.impala.analysis.DropTableOrViewStmt.toThrift().
|
inline |
Definition at line 99 of file DropTableOrViewStmt.java.
Referenced by com.cloudera.impala.analysis.DropTableOrViewStmt.analyze(), and com.cloudera.impala.analysis.DropTableOrViewStmt.toThrift().
|
inline |
Definition at line 101 of file DropTableOrViewStmt.java.
References com.cloudera.impala.analysis.DropTableOrViewStmt.dropTable_.
|
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 48 of file DropTableOrViewStmt.java.
References com.cloudera.impala.analysis.DropTableOrViewStmt.dropTable_, com.cloudera.impala.analysis.TableName.getDb(), com.cloudera.impala.analysis.DropTableOrViewStmt.ifExists_, and com.cloudera.impala.analysis.DropTableOrViewStmt.tableName_.
|
inline |
|
protected |
Definition at line 36 of file DropTableOrViewStmt.java.
Referenced by com.cloudera.impala.analysis.DropTableOrViewStmt.analyze(), and com.cloudera.impala.analysis.DropTableOrViewStmt.getDb().
|
protected |
Definition at line 33 of file DropTableOrViewStmt.java.
Referenced by com.cloudera.impala.analysis.DropTableOrViewStmt.analyze(), com.cloudera.impala.analysis.DropTableOrViewStmt.isDropTable(), and com.cloudera.impala.analysis.DropTableOrViewStmt.toSql().
|
protected |
Definition at line 30 of file DropTableOrViewStmt.java.
Referenced by com.cloudera.impala.analysis.DropTableOrViewStmt.analyze(), and com.cloudera.impala.analysis.DropTableOrViewStmt.toSql().
|
protectedinherited |
|
protected |
Definition at line 29 of file DropTableOrViewStmt.java.
Referenced by com.cloudera.impala.analysis.DropTableOrViewStmt.analyze(), and com.cloudera.impala.analysis.DropTableOrViewStmt.toSql().