Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Public Member Functions | |
CreateTableAsSelectStmt (CreateTableStmt createStmt, QueryStmt queryStmt) | |
QueryStmt | getQueryStmt () |
InsertStmt | getInsertStmt () |
CreateTableStmt | getCreateStmt () |
String | toSql () |
void | analyze (Analyzer analyzer) throws AnalysisException |
void | setIsExplain () |
boolean | isExplain () |
Protected Attributes | |
boolean | isExplain_ = false |
Private Attributes | |
final CreateTableStmt | createStmt_ |
final InsertStmt | insertStmt_ |
Static Private Attributes | |
static final EnumSet < THdfsFileFormat > | SUPPORTED_INSERT_FORMATS |
Represents a CREATE TABLE AS SELECT (CTAS) statement
Definition at line 34 of file CreateTableAsSelectStmt.java.
|
inline |
Builds a CREATE TABLE AS SELECT statement
Definition at line 43 of file CreateTableAsSelectStmt.java.
References com.cloudera.impala.analysis.CreateTableStmt.getTblName().
|
inline |
Perform semantic analysis of node and all of its children. Throws exception if any errors found.
analyzer |
AnalysisException |
Implements com.cloudera.impala.analysis.ParseNode.
Definition at line 58 of file CreateTableAsSelectStmt.java.
References com.cloudera.impala.authorization.Privilege.ANY, com.cloudera.impala.analysis.CreateTableAsSelectStmt.createStmt_, com.cloudera.impala.analysis.Analyzer.DB_DOES_NOT_EXIST_ERROR_MSG, com.cloudera.impala.analysis.CreateTableStmt.getDb(), com.cloudera.impala.analysis.CreateTableStmt.getFileFormat(), com.cloudera.impala.analysis.CreateTableStmt.getLocation(), and com.cloudera.impala.analysis.CreateTableAsSelectStmt.SUPPORTED_INSERT_FORMATS.
|
inline |
Definition at line 53 of file CreateTableAsSelectStmt.java.
References com.cloudera.impala.analysis.CreateTableAsSelectStmt.createStmt_.
|
inline |
Definition at line 52 of file CreateTableAsSelectStmt.java.
References com.cloudera.impala.analysis.CreateTableAsSelectStmt.insertStmt_.
|
inline |
Definition at line 51 of file CreateTableAsSelectStmt.java.
Referenced by com.cloudera.impala.analysis.CreateTableAsSelectStmt.toSql().
|
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 55 of file CreateTableAsSelectStmt.java.
References com.cloudera.impala.analysis.CreateTableAsSelectStmt.getQueryStmt().
|
private |
Definition at line 35 of file CreateTableAsSelectStmt.java.
Referenced by com.cloudera.impala.analysis.CreateTableAsSelectStmt.analyze(), and com.cloudera.impala.analysis.CreateTableAsSelectStmt.getCreateStmt().
|
private |
Definition at line 36 of file CreateTableAsSelectStmt.java.
Referenced by com.cloudera.impala.analysis.CreateTableAsSelectStmt.getInsertStmt().
|
protectedinherited |
|
staticprivate |
Definition at line 37 of file CreateTableAsSelectStmt.java.
Referenced by com.cloudera.impala.analysis.CreateTableAsSelectStmt.analyze().