Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Public Member Functions | |
AlterTableSetStmt (TableName tableName, PartitionSpec partitionSpec) | |
PartitionSpec | getPartitionSpec () |
void | analyze (Analyzer analyzer) throws AnalysisException |
String | getTbl () |
String | getDb () |
TAlterTableParams | toThrift () |
String | toSql () |
void | setIsExplain () |
boolean | isExplain () |
Protected Member Functions | |
Table | getTargetTable () |
Protected Attributes | |
final PartitionSpec | partitionSpec_ |
final TableName | tableName_ |
Table | table_ |
boolean | isExplain_ = false |
Base class for all ALTER TABLE ... SET statements
Definition at line 25 of file AlterTableSetStmt.java.
|
inline |
Definition at line 28 of file AlterTableSetStmt.java.
References com.cloudera.impala.analysis.AlterTableSetStmt.partitionSpec_.
|
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 37 of file AlterTableSetStmt.java.
References com.cloudera.impala.authorization.Privilege.ALTER, com.cloudera.impala.analysis.AlterTableStmt.getTargetTable(), and com.cloudera.impala.analysis.AlterTableSetStmt.partitionSpec_.
|
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 34 of file AlterTableSetStmt.java.
References com.cloudera.impala.analysis.AlterTableSetStmt.partitionSpec_.
Referenced by com.cloudera.impala.analysis.AlterTableSetLocationStmt.analyze(), com.cloudera.impala.analysis.AlterTableSetFileFormatStmt.toThrift(), com.cloudera.impala.analysis.AlterTableSetCachedStmt.toThrift(), and com.cloudera.impala.analysis.AlterTableSetLocationStmt.toThrift().
|
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().
|
inlineinherited |
Definition at line 60 of file AlterTableStmt.java.
References com.cloudera.impala.analysis.AlterTableStmt.getDb(), and com.cloudera.impala.analysis.AlterTableStmt.getTbl().
|
protectedinherited |
|
protected |
Definition at line 26 of file AlterTableSetStmt.java.
Referenced by com.cloudera.impala.analysis.AlterTableSetStmt.AlterTableSetStmt(), com.cloudera.impala.analysis.AlterTableSetStmt.analyze(), com.cloudera.impala.analysis.AlterTableSetStmt.getPartitionSpec(), and com.cloudera.impala.analysis.AlterTableSetTblProperties.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().