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

Public Member Functions

 DropFunctionStmt (FunctionName fnName, FunctionArgs fnArgs, boolean ifExists)
 
FunctionName getFunction ()
 
boolean getIfExists ()
 
String toSql ()
 
TDropFunctionParams toThrift ()
 
void analyze (Analyzer analyzer) throws AnalysisException
 
void setIsExplain ()
 
boolean isExplain ()
 

Protected Attributes

boolean isExplain_ = false
 

Private Attributes

final FunctionName fnName_
 
final FunctionArgs fnArgs_
 
final boolean ifExists_
 
Function desc_
 

Detailed Description

Represents a DROP [IF EXISTS] FUNCTION statement TODO: try to consolidate this with the other Drop*Stmt class, perhaps by adding a DropStatementBase class.

Definition at line 30 of file DropFunctionStmt.java.

Constructor & Destructor Documentation

com.cloudera.impala.analysis.DropFunctionStmt.DropFunctionStmt ( FunctionName  fnName,
FunctionArgs  fnArgs,
boolean  ifExists 
)
inline

Constructor for building the drop statement. If ifExists is true, an error will not be thrown if the function does not exist.

Definition at line 42 of file DropFunctionStmt.java.

References com.cloudera.impala.analysis.DropFunctionStmt.fnArgs_, com.cloudera.impala.analysis.DropFunctionStmt.fnName_, and com.cloudera.impala.analysis.DropFunctionStmt.ifExists_.

Member Function Documentation

FunctionName com.cloudera.impala.analysis.DropFunctionStmt.getFunction ( )
inline

Definition at line 48 of file DropFunctionStmt.java.

boolean com.cloudera.impala.analysis.DropFunctionStmt.getIfExists ( )
inline
boolean com.cloudera.impala.analysis.StatementBase.isExplain ( )
inlineinherited
void com.cloudera.impala.analysis.StatementBase.setIsExplain ( )
inlineinherited
String com.cloudera.impala.analysis.DropFunctionStmt.toSql ( )
inline
Returns
SQL syntax corresponding to this node.

Implements com.cloudera.impala.analysis.ParseNode.

Definition at line 52 of file DropFunctionStmt.java.

References com.cloudera.impala.analysis.DropFunctionStmt.ifExists_.

TDropFunctionParams com.cloudera.impala.analysis.DropFunctionStmt.toThrift ( )
inline

Member Data Documentation

Function com.cloudera.impala.analysis.DropFunctionStmt.desc_
private
final FunctionArgs com.cloudera.impala.analysis.DropFunctionStmt.fnArgs_
private
final FunctionName com.cloudera.impala.analysis.DropFunctionStmt.fnName_
private

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