Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Public Member Functions | |
AlterTableAddReplaceColsStmt (TableName tableName, List< ColumnDef > columnDefs, boolean replaceExistingCols) | |
List< ColumnDef > | getColumnDescs () |
boolean | getReplaceExistingCols () |
TAlterTableParams | toThrift () |
void | analyze (Analyzer analyzer) throws AnalysisException |
String | getTbl () |
String | getDb () |
String | toSql () |
void | setIsExplain () |
boolean | isExplain () |
Protected Member Functions | |
Table | getTargetTable () |
Protected Attributes | |
final TableName | tableName_ |
Table | table_ |
boolean | isExplain_ = false |
Private Attributes | |
final List< ColumnDef > | columnDefs_ |
final boolean | replaceExistingCols_ |
Represents an ALTER TABLE ADD|REPLACE COLUMNS (colDef1, colDef2, ...) statement.
Definition at line 36 of file AlterTableAddReplaceColsStmt.java.
|
inline |
Definition at line 40 of file AlterTableAddReplaceColsStmt.java.
References com.cloudera.impala.analysis.AlterTableAddReplaceColsStmt.columnDefs_, and com.cloudera.impala.analysis.AlterTableAddReplaceColsStmt.replaceExistingCols_.
|
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 69 of file AlterTableAddReplaceColsStmt.java.
References com.cloudera.impala.analysis.AlterTableAddReplaceColsStmt.columnDefs_, com.cloudera.impala.analysis.AlterTableStmt.getTargetTable(), and com.cloudera.impala.analysis.AlterTableAddReplaceColsStmt.replaceExistingCols_.
|
inline |
Definition at line 48 of file AlterTableAddReplaceColsStmt.java.
References com.cloudera.impala.analysis.AlterTableAddReplaceColsStmt.columnDefs_.
Referenced by com.cloudera.impala.analysis.AlterTableAddReplaceColsStmt.toThrift().
|
inlineinherited |
Can only be called after analysis, returns the parent database name of the target table for this ALTER TABLE statement.
Definition at line 47 of file AlterTableStmt.java.
References com.cloudera.impala.analysis.AlterTableStmt.getTargetTable().
Referenced by com.cloudera.impala.analysis.AlterTableDropColStmt.analyze(), com.cloudera.impala.analysis.AlterTableChangeColStmt.analyze(), and com.cloudera.impala.analysis.AlterTableStmt.toThrift().
|
inline |
Definition at line 51 of file AlterTableAddReplaceColsStmt.java.
References com.cloudera.impala.analysis.AlterTableAddReplaceColsStmt.replaceExistingCols_.
|
inlineprotectedinherited |
Can only be called after analysis, returns the Table object of the target of this ALTER TABLE statement.
Definition at line 55 of file AlterTableStmt.java.
References com.cloudera.impala.analysis.AlterTableStmt.table_.
Referenced by com.cloudera.impala.analysis.AlterTableSetStmt.analyze(), com.cloudera.impala.analysis.AlterTableSetCachedStmt.analyze(), com.cloudera.impala.analysis.AlterTableDropColStmt.analyze(), com.cloudera.impala.analysis.AlterTableSetLocationStmt.analyze(), com.cloudera.impala.analysis.AlterTableChangeColStmt.analyze(), com.cloudera.impala.analysis.AlterTableAddReplaceColsStmt.analyze(), and com.cloudera.impala.analysis.AlterTableStmt.getDb().
|
inlineinherited |
Definition at line 41 of file AlterTableStmt.java.
Referenced by com.cloudera.impala.analysis.AlterTableDropColStmt.analyze(), com.cloudera.impala.analysis.AlterTableChangeColStmt.analyze(), com.cloudera.impala.analysis.AlterTableDropPartitionStmt.toSql(), com.cloudera.impala.analysis.AlterTableAddPartitionStmt.toSql(), and com.cloudera.impala.analysis.AlterTableStmt.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_.
|
inlineinherited |
Print SQL syntax corresponding to this node.
Implements com.cloudera.impala.analysis.ParseNode.
Definition at line 41 of file StatementBase.java.
Referenced by com.cloudera.impala.analysis.CreateUdaStmt.analyze(), and com.cloudera.impala.analysis.QueryStmt.createSortInfo().
|
inline |
Definition at line 56 of file AlterTableAddReplaceColsStmt.java.
References com.cloudera.impala.analysis.AlterTableAddReplaceColsStmt.getColumnDescs(), and com.cloudera.impala.analysis.AlterTableAddReplaceColsStmt.replaceExistingCols_.
|
private |
Definition at line 37 of file AlterTableAddReplaceColsStmt.java.
Referenced by com.cloudera.impala.analysis.AlterTableAddReplaceColsStmt.AlterTableAddReplaceColsStmt(), com.cloudera.impala.analysis.AlterTableAddReplaceColsStmt.analyze(), and com.cloudera.impala.analysis.AlterTableAddReplaceColsStmt.getColumnDescs().
|
protectedinherited |
|
private |
Definition at line 38 of file AlterTableAddReplaceColsStmt.java.
Referenced by com.cloudera.impala.analysis.AlterTableAddReplaceColsStmt.AlterTableAddReplaceColsStmt(), com.cloudera.impala.analysis.AlterTableAddReplaceColsStmt.analyze(), com.cloudera.impala.analysis.AlterTableAddReplaceColsStmt.getReplaceExistingCols(), and com.cloudera.impala.analysis.AlterTableAddReplaceColsStmt.toThrift().
|
protectedinherited |
Definition at line 33 of file AlterTableStmt.java.
Referenced by com.cloudera.impala.analysis.AlterTableStmt.AlterTableStmt(), com.cloudera.impala.analysis.AlterTableStmt.analyze(), com.cloudera.impala.analysis.AlterTableOrViewRenameStmt.analyze(), and com.cloudera.impala.analysis.AlterTableStmt.getTargetTable().
|
protectedinherited |
Definition at line 30 of file AlterTableStmt.java.
Referenced by com.cloudera.impala.analysis.AlterTableStmt.AlterTableStmt(), com.cloudera.impala.analysis.AlterTableStmt.analyze(), and com.cloudera.impala.analysis.AlterTableOrViewRenameStmt.analyze().