| 
    Impala
    
   Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop. 
   | 
 
Public Member Functions | |
| String | getTbl () | 
| String | getDb () | 
| TAlterTableParams | toThrift () | 
| void | analyze (Analyzer analyzer) throws AnalysisException | 
| String | toSql () | 
| void | setIsExplain () | 
| boolean | isExplain () | 
Protected Member Functions | |
| AlterTableStmt (TableName tableName) | |
| Table | getTargetTable () | 
Protected Attributes | |
| final TableName | tableName_ | 
| Table | table_ | 
| boolean | isExplain_ = false | 
Base class for all ALTER TABLE statements.
Definition at line 29 of file AlterTableStmt.java.
      
  | 
  inlineprotected | 
Definition at line 35 of file AlterTableStmt.java.
References com.cloudera.impala.analysis.AlterTableStmt.table_, and com.cloudera.impala.analysis.AlterTableStmt.tableName_.
      
  | 
  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 67 of file AlterTableStmt.java.
References com.cloudera.impala.authorization.Privilege.ALTER, com.cloudera.impala.catalog.Table.getFullName(), com.cloudera.impala.analysis.AlterTableStmt.table_, and com.cloudera.impala.analysis.AlterTableStmt.tableName_.
      
  | 
  inline | 
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().
      
  | 
  inlineprotected | 
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().
      
  | 
  inline | 
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 60 of file AlterTableStmt.java.
References com.cloudera.impala.analysis.AlterTableStmt.getDb(), and com.cloudera.impala.analysis.AlterTableStmt.getTbl().
      
  | 
  protectedinherited | 
      
  | 
  protected | 
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().
      
  | 
  protected | 
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().