Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
com.cloudera.impala.analysis.AlterViewStmt Class Reference
Inheritance diagram for com.cloudera.impala.analysis.AlterViewStmt:
Collaboration diagram for com.cloudera.impala.analysis.AlterViewStmt:

Public Member Functions

 AlterViewStmt (TableName tableName, QueryStmt viewDefStmt)
 
void analyze (Analyzer analyzer) throws AnalysisException
 
String toSql ()
 
TCreateOrAlterViewParams toThrift ()
 
String getDb ()
 
String getOwner ()
 
List< ColumnDefgetColumnDescs ()
 
String getComment ()
 
boolean getIfNotExists ()
 
String getOriginalViewDef ()
 
String getInlineViewDef ()
 
String getTbl ()
 
void setIsExplain ()
 
boolean isExplain ()
 

Protected Member Functions

void createColumnAndViewDefs (Analyzer analyzer) throws AnalysisException
 
void computeLineageGraph (Analyzer analyzer)
 

Protected Attributes

final boolean ifNotExists_
 
final TableName tableName_
 
final ArrayList< ColumnDefcolumnDefs_
 
final String comment_
 
final QueryStmt viewDefStmt_
 
String dbName_
 
String owner_
 
String originalViewDef_
 
String inlineViewDef_
 
ArrayList< ColumnDeffinalColDefs_
 
boolean isExplain_ = false
 

Detailed Description

Represents an ALTER VIEW AS statement.

Definition at line 28 of file AlterViewStmt.java.

Constructor & Destructor Documentation

com.cloudera.impala.analysis.AlterViewStmt.AlterViewStmt ( TableName  tableName,
QueryStmt  viewDefStmt 
)
inline

Definition at line 30 of file AlterViewStmt.java.

Member Function Documentation

void com.cloudera.impala.analysis.CreateOrAlterViewStmtBase.computeLineageGraph ( Analyzer  analyzer)
inlineprotectedinherited
List<ColumnDef> com.cloudera.impala.analysis.CreateOrAlterViewStmtBase.getColumnDescs ( )
inlineinherited
String com.cloudera.impala.analysis.CreateOrAlterViewStmtBase.getComment ( )
inlineinherited
String com.cloudera.impala.analysis.CreateOrAlterViewStmtBase.getDb ( )
inlineinherited

Can only be called after analysis, returns the name of the database the table will be created within.

Definition at line 187 of file CreateOrAlterViewStmtBase.java.

References com.cloudera.impala.analysis.CreateOrAlterViewStmtBase.dbName_.

Referenced by com.cloudera.impala.analysis.CreateOrAlterViewStmtBase.toThrift().

boolean com.cloudera.impala.analysis.CreateOrAlterViewStmtBase.getIfNotExists ( )
inlineinherited
String com.cloudera.impala.analysis.CreateOrAlterViewStmtBase.getInlineViewDef ( )
inlineinherited
String com.cloudera.impala.analysis.CreateOrAlterViewStmtBase.getOriginalViewDef ( )
inlineinherited
String com.cloudera.impala.analysis.CreateOrAlterViewStmtBase.getOwner ( )
inlineinherited

Can only be called after analysis, returns the owner of the view to be created.

Definition at line 195 of file CreateOrAlterViewStmtBase.java.

References com.cloudera.impala.analysis.CreateOrAlterViewStmtBase.owner_.

Referenced by com.cloudera.impala.analysis.CreateOrAlterViewStmtBase.toThrift().

boolean com.cloudera.impala.analysis.StatementBase.isExplain ( )
inlineinherited
void com.cloudera.impala.analysis.StatementBase.setIsExplain ( )
inlineinherited
String com.cloudera.impala.analysis.AlterViewStmt.toSql ( )
inline

Member Data Documentation

final String com.cloudera.impala.analysis.CreateOrAlterViewStmtBase.comment_
protectedinherited
final boolean com.cloudera.impala.analysis.CreateOrAlterViewStmtBase.ifNotExists_
protectedinherited
final QueryStmt com.cloudera.impala.analysis.CreateOrAlterViewStmtBase.viewDefStmt_
protectedinherited

The documentation for this class was generated from the following file: