Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Public Member Functions | |
AlterTableAddPartitionStmt (TableName tableName, PartitionSpec partitionSpec, HdfsUri location, boolean ifNotExists, HdfsCachingOp cacheOp) | |
boolean | getIfNotExists () |
HdfsUri | getLocation () |
String | toSql () |
TAlterTableParams | toThrift () |
void | analyze (Analyzer analyzer) throws AnalysisException |
String | getTbl () |
String | getDb () |
void | setIsExplain () |
boolean | isExplain () |
Protected Member Functions | |
Table | getTargetTable () |
Protected Attributes | |
final TableName | tableName_ |
Table | table_ |
boolean | isExplain_ = false |
Private Attributes | |
final HdfsUri | location_ |
final boolean | ifNotExists_ |
final PartitionSpec | partitionSpec_ |
final HdfsCachingOp | cacheOp_ |
Represents an ALTER TABLE ADD PARTITION statement.
Definition at line 28 of file AlterTableAddPartitionStmt.java.
|
inline |
Definition at line 34 of file AlterTableAddPartitionStmt.java.
References com.cloudera.impala.analysis.AlterTableAddPartitionStmt.cacheOp_, com.cloudera.impala.analysis.AlterTableAddPartitionStmt.ifNotExists_, com.cloudera.impala.analysis.AlterTableAddPartitionStmt.location_, and com.cloudera.impala.analysis.AlterTableAddPartitionStmt.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 78 of file AlterTableAddPartitionStmt.java.
References com.cloudera.impala.authorization.Privilege.ALL, com.cloudera.impala.authorization.Privilege.ALTER, com.cloudera.impala.analysis.AlterTableAddPartitionStmt.cacheOp_, com.cloudera.impala.analysis.AlterTableAddPartitionStmt.ifNotExists_, and com.cloudera.impala.analysis.AlterTableAddPartitionStmt.location_.
|
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 46 of file AlterTableAddPartitionStmt.java.
References com.cloudera.impala.analysis.AlterTableAddPartitionStmt.ifNotExists_.
|
inline |
Definition at line 47 of file AlterTableAddPartitionStmt.java.
References com.cloudera.impala.analysis.AlterTableAddPartitionStmt.location_.
|
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_.
|
inline |
Implements com.cloudera.impala.analysis.ParseNode.
Definition at line 50 of file AlterTableAddPartitionStmt.java.
References com.cloudera.impala.analysis.AlterTableAddPartitionStmt.cacheOp_, com.cloudera.impala.analysis.AlterTableStmt.getTbl(), com.cloudera.impala.analysis.AlterTableAddPartitionStmt.ifNotExists_, and com.cloudera.impala.analysis.AlterTableAddPartitionStmt.location_.
|
inline |
|
private |
Definition at line 32 of file AlterTableAddPartitionStmt.java.
Referenced by com.cloudera.impala.analysis.AlterTableAddPartitionStmt.AlterTableAddPartitionStmt(), com.cloudera.impala.analysis.AlterTableAddPartitionStmt.analyze(), com.cloudera.impala.analysis.AlterTableAddPartitionStmt.toSql(), and com.cloudera.impala.analysis.AlterTableAddPartitionStmt.toThrift().
|
private |
Definition at line 30 of file AlterTableAddPartitionStmt.java.
Referenced by com.cloudera.impala.analysis.AlterTableAddPartitionStmt.AlterTableAddPartitionStmt(), com.cloudera.impala.analysis.AlterTableAddPartitionStmt.analyze(), com.cloudera.impala.analysis.AlterTableAddPartitionStmt.getIfNotExists(), com.cloudera.impala.analysis.AlterTableAddPartitionStmt.toSql(), and com.cloudera.impala.analysis.AlterTableAddPartitionStmt.toThrift().
|
protectedinherited |
|
private |
Definition at line 29 of file AlterTableAddPartitionStmt.java.
Referenced by com.cloudera.impala.analysis.AlterTableAddPartitionStmt.AlterTableAddPartitionStmt(), com.cloudera.impala.analysis.AlterTableAddPartitionStmt.analyze(), com.cloudera.impala.analysis.AlterTableAddPartitionStmt.getLocation(), com.cloudera.impala.analysis.AlterTableAddPartitionStmt.toSql(), and com.cloudera.impala.analysis.AlterTableAddPartitionStmt.toThrift().
|
private |
Definition at line 31 of file AlterTableAddPartitionStmt.java.
Referenced by com.cloudera.impala.analysis.AlterTableAddPartitionStmt.AlterTableAddPartitionStmt().
|
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().