Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Public Member Functions | |
AlterTableSetLocationStmt (TableName tableName, PartitionSpec partitionSpec, HdfsUri location) | |
HdfsUri | getLocation () |
TAlterTableParams | toThrift () |
void | analyze (Analyzer analyzer) throws AnalysisException |
PartitionSpec | getPartitionSpec () |
String | getTbl () |
String | getDb () |
String | toSql () |
void | setIsExplain () |
boolean | isExplain () |
Protected Member Functions | |
Table | getTargetTable () |
Protected Attributes | |
final PartitionSpec | partitionSpec_ |
final TableName | tableName_ |
Table | table_ |
boolean | isExplain_ = false |
Private Attributes | |
final HdfsUri | location_ |
Represents an ALTER TABLE [PARTITION partitionSpec] SET LOCATION statement.
Definition at line 31 of file AlterTableSetLocationStmt.java.
|
inline |
Definition at line 34 of file AlterTableSetLocationStmt.java.
|
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 57 of file AlterTableSetLocationStmt.java.
References com.cloudera.impala.authorization.Privilege.ALL, com.cloudera.impala.analysis.AlterTableSetStmt.getPartitionSpec(), com.cloudera.impala.analysis.AlterTableStmt.getTargetTable(), com.cloudera.impala.catalog.HdfsPartition.isMarkedCached(), and com.cloudera.impala.catalog.HdfsTable.isMarkedCached().
|
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 41 of file AlterTableSetLocationStmt.java.
References com.cloudera.impala.analysis.AlterTableSetLocationStmt.location_.
|
inlineinherited |
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().
|
inline |
|
protectedinherited |
|
private |
Definition at line 32 of file AlterTableSetLocationStmt.java.
Referenced by com.cloudera.impala.analysis.AlterTableSetLocationStmt.getLocation(), and com.cloudera.impala.analysis.AlterTableSetLocationStmt.toThrift().
|
protectedinherited |
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().