Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Public Member Functions | |
FunctionName (ArrayList< String > fnNamePath) | |
FunctionName (String dbName, String fn) | |
FunctionName (String fn) | |
boolean | equals (Object obj) |
String | getDb () |
String | getFunction () |
boolean | isFullyQualified () |
boolean | isBuiltin () |
ArrayList< String > | getFnNamePath () |
String | toString () |
void | analyze (Analyzer analyzer) throws AnalysisException |
TFunctionName | toThrift () |
Static Public Member Functions | |
static FunctionName | fromThrift (TFunctionName fnName) |
Private Member Functions | |
void | analyzeFnNamePath () throws AnalysisException |
boolean | isValidCharacter (char c) |
Private Attributes | |
final ArrayList< String > | fnNamePath_ |
String | db_ |
String | fn_ |
boolean | isBuiltin_ = false |
boolean | isAnalyzed_ = false |
Class to represent a function name. Function names are specified as db.function_name.
Definition at line 30 of file FunctionName.java.
|
inline |
C'tor for parsed function names. The function names could be invalid. The validity is checked during analysis.
Definition at line 44 of file FunctionName.java.
References com.cloudera.impala.analysis.FunctionName.fnNamePath_.
Referenced by com.cloudera.impala.analysis.FunctionName.equals(), and com.cloudera.impala.analysis.FunctionName.fromThrift().
|
inline |
Definition at line 48 of file FunctionName.java.
References com.cloudera.impala.analysis.FunctionName.db_, com.cloudera.impala.analysis.FunctionName.fn_, and com.cloudera.impala.analysis.FunctionName.fnNamePath_.
|
inline |
Definition at line 54 of file FunctionName.java.
|
inline |
Definition at line 84 of file FunctionName.java.
References com.cloudera.impala.analysis.FunctionName.analyzeFnNamePath(), com.cloudera.impala.catalog.Catalog.BUILTINS_DB, com.cloudera.impala.catalog.Db.containsFunction(), com.cloudera.impala.analysis.FunctionName.db_, com.cloudera.impala.analysis.FunctionName.fn_, com.cloudera.impala.analysis.FunctionName.isAnalyzed_, com.cloudera.impala.analysis.FunctionName.isBuiltin_, com.cloudera.impala.analysis.FunctionName.isFullyQualified(), and com.cloudera.impala.analysis.FunctionName.isValidCharacter().
|
inlineprivate |
Definition at line 117 of file FunctionName.java.
References com.cloudera.impala.analysis.FunctionName.db_, com.cloudera.impala.analysis.FunctionName.fn_, and com.cloudera.impala.analysis.FunctionName.fnNamePath_.
Referenced by com.cloudera.impala.analysis.FunctionName.analyze().
|
inline |
Definition at line 59 of file FunctionName.java.
References com.cloudera.impala.analysis.FunctionName.db_, and com.cloudera.impala.analysis.FunctionName.FunctionName().
Referenced by com.cloudera.impala.catalog.Function.isIdentical(), com.cloudera.impala.catalog.Function.isIndistinguishable(), and com.cloudera.impala.catalog.Function.isSuperTypeOf().
|
inlinestatic |
Definition at line 142 of file FunctionName.java.
References com.cloudera.impala.analysis.FunctionName.FunctionName().
Referenced by com.cloudera.impala.service.CatalogOpExecutor.dropFunction(), and com.cloudera.impala.catalog.Function.fromThrift().
|
inline |
Definition at line 70 of file FunctionName.java.
References com.cloudera.impala.analysis.FunctionName.db_.
Referenced by com.cloudera.impala.catalog.Catalog.containsFunction(), and com.cloudera.impala.analysis.Analyzer.getTargetDbName().
|
inline |
Definition at line 74 of file FunctionName.java.
References com.cloudera.impala.analysis.FunctionName.fnNamePath_.
Referenced by com.cloudera.impala.analysis.FunctionCallExpr.createExpr().
|
inline |
Definition at line 71 of file FunctionName.java.
References com.cloudera.impala.analysis.FunctionName.fn_.
Referenced by com.cloudera.impala.analysis.FunctionCallExpr.analyze(), com.cloudera.impala.analysis.FunctionCallExpr.getFunctionNotFoundError(), com.cloudera.impala.analysis.FunctionCallExpr.resolveDecimalReturnType(), and com.cloudera.impala.analysis.AnalyticExpr.standardize().
|
inline |
Definition at line 73 of file FunctionName.java.
References com.cloudera.impala.analysis.FunctionName.isBuiltin_.
Referenced by com.cloudera.impala.analysis.FunctionCallExpr.getFunctionNotFoundError().
|
inline |
Definition at line 72 of file FunctionName.java.
References com.cloudera.impala.analysis.FunctionName.db_.
Referenced by com.cloudera.impala.analysis.FunctionName.analyze().
|
inlineprivate |
Definition at line 132 of file FunctionName.java.
Referenced by com.cloudera.impala.analysis.FunctionName.analyze().
|
inline |
Definition at line 77 of file FunctionName.java.
References com.cloudera.impala.analysis.FunctionName.db_, com.cloudera.impala.analysis.FunctionName.fn_, com.cloudera.impala.analysis.FunctionName.fnNamePath_, com.cloudera.impala.analysis.FunctionName.isAnalyzed_, and com.cloudera.impala.analysis.FunctionName.isBuiltin_.
Referenced by com.cloudera.impala.analysis.FunctionCallExpr.createMergeAggCall().
|
inline |
Definition at line 136 of file FunctionName.java.
References com.cloudera.impala.analysis.FunctionName.db_, com.cloudera.impala.analysis.FunctionName.fn_, and impala.name.
|
private |
Definition at line 35 of file FunctionName.java.
Referenced by com.cloudera.impala.analysis.FunctionName.analyze(), com.cloudera.impala.analysis.FunctionName.analyzeFnNamePath(), com.cloudera.impala.analysis.FunctionName.equals(), com.cloudera.impala.analysis.FunctionName.FunctionName(), com.cloudera.impala.analysis.FunctionName.getDb(), com.cloudera.impala.analysis.FunctionName.isFullyQualified(), com.cloudera.impala.analysis.FunctionName.toString(), and com.cloudera.impala.analysis.FunctionName.toThrift().
|
private |
Definition at line 36 of file FunctionName.java.
Referenced by com.cloudera.impala.analysis.FunctionName.analyze(), com.cloudera.impala.analysis.FunctionName.analyzeFnNamePath(), com.cloudera.impala.analysis.FunctionName.FunctionName(), com.cloudera.impala.analysis.FunctionName.getFunction(), com.cloudera.impala.analysis.FunctionName.toString(), and com.cloudera.impala.analysis.FunctionName.toThrift().
|
private |
Definition at line 32 of file FunctionName.java.
Referenced by com.cloudera.impala.analysis.FunctionName.analyzeFnNamePath(), com.cloudera.impala.analysis.FunctionName.FunctionName(), com.cloudera.impala.analysis.FunctionName.getFnNamePath(), and com.cloudera.impala.analysis.FunctionName.toString().
|
private |
Definition at line 38 of file FunctionName.java.
Referenced by com.cloudera.impala.analysis.FunctionName.analyze(), and com.cloudera.impala.analysis.FunctionName.toString().
|
private |
Definition at line 37 of file FunctionName.java.
Referenced by com.cloudera.impala.analysis.FunctionName.analyze(), com.cloudera.impala.analysis.FunctionName.isBuiltin(), and com.cloudera.impala.analysis.FunctionName.toString().