Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
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_ |
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.
|
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_.
|
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 70 of file DropFunctionStmt.java.
References com.cloudera.impala.authorization.Privilege.ALL, com.cloudera.impala.analysis.Analyzer.DB_DOES_NOT_EXIST_ERROR_MSG, com.cloudera.impala.analysis.DropFunctionStmt.desc_, com.cloudera.impala.authorization.Privilege.DROP, com.cloudera.impala.analysis.Analyzer.FN_DOES_NOT_EXIST_ERROR_MSG, com.cloudera.impala.analysis.DropFunctionStmt.fnArgs_, com.cloudera.impala.analysis.DropFunctionStmt.fnName_, com.cloudera.impala.analysis.FunctionArgs.getArgTypes(), com.cloudera.impala.analysis.DropFunctionStmt.ifExists_, and com.cloudera.impala.catalog.Type.INVALID.
|
inline |
Definition at line 48 of file DropFunctionStmt.java.
|
inline |
Definition at line 49 of file DropFunctionStmt.java.
References com.cloudera.impala.analysis.DropFunctionStmt.ifExists_.
Referenced by com.cloudera.impala.analysis.DropFunctionStmt.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 52 of file DropFunctionStmt.java.
References com.cloudera.impala.analysis.DropFunctionStmt.ifExists_.
|
inline |
Definition at line 60 of file DropFunctionStmt.java.
References com.cloudera.impala.analysis.DropFunctionStmt.getIfExists().
|
private |
Definition at line 36 of file DropFunctionStmt.java.
Referenced by com.cloudera.impala.analysis.DropFunctionStmt.analyze().
|
private |
Definition at line 32 of file DropFunctionStmt.java.
Referenced by com.cloudera.impala.analysis.DropFunctionStmt.analyze(), and com.cloudera.impala.analysis.DropFunctionStmt.DropFunctionStmt().
|
private |
Definition at line 31 of file DropFunctionStmt.java.
Referenced by com.cloudera.impala.analysis.DropFunctionStmt.analyze(), and com.cloudera.impala.analysis.DropFunctionStmt.DropFunctionStmt().
|
private |
Definition at line 33 of file DropFunctionStmt.java.
Referenced by com.cloudera.impala.analysis.DropFunctionStmt.analyze(), com.cloudera.impala.analysis.DropFunctionStmt.DropFunctionStmt(), com.cloudera.impala.analysis.DropFunctionStmt.getIfExists(), and com.cloudera.impala.analysis.DropFunctionStmt.toSql().
|
protectedinherited |