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

Public Member Functions

 DropDataSrcStmt (String dataSrcName, boolean ifExists)
 
void analyze (Analyzer analyzer) throws AnalysisException
 
String toSql ()
 
TDropDataSourceParams toThrift ()
 
void setIsExplain ()
 
boolean isExplain ()
 

Protected Attributes

boolean isExplain_ = false
 

Private Attributes

final String dataSrcName_
 
final boolean ifExists_
 

Detailed Description

Represents a DROP DATA SOURCE statement.

Definition at line 26 of file DropDataSrcStmt.java.

Constructor & Destructor Documentation

com.cloudera.impala.analysis.DropDataSrcStmt.DropDataSrcStmt ( String  dataSrcName,
boolean  ifExists 
)
inline

Definition at line 31 of file DropDataSrcStmt.java.

Member Function Documentation

void com.cloudera.impala.analysis.DropDataSrcStmt.analyze ( Analyzer  analyzer) throws AnalysisException
inline

Perform semantic analysis of node and all of its children. Throws exception if any errors found.

Parameters
analyzer
Exceptions
AnalysisException

Implements com.cloudera.impala.analysis.ParseNode.

Definition at line 38 of file DropDataSrcStmt.java.

References com.cloudera.impala.analysis.Analyzer.DATA_SRC_DOES_NOT_EXIST_ERROR_MSG, com.cloudera.impala.analysis.DropDataSrcStmt.dataSrcName_, and com.cloudera.impala.analysis.DropDataSrcStmt.ifExists_.

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

Member Data Documentation

final String com.cloudera.impala.analysis.DropDataSrcStmt.dataSrcName_
private
final boolean com.cloudera.impala.analysis.DropDataSrcStmt.ifExists_
private

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