Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Static Public Member Functions | |
static native void | NativeFeTestInit () |
static native byte[] | NativeEvalConstExprs (byte[] thriftExprBatch, byte[] thriftQueryGlobals) |
static native byte[] | NativeLookupSymbol (byte[] thriftSymbolLookup) |
static native byte[] | NativeCacheJar (byte[] thriftCacheJar) |
static native byte[] | NativePrioritizeLoad (byte[] thriftReq) |
static native byte[] | NativeGetStartupOptions () |
static TCacheJarResult | CacheJar (String hdfsLocation) throws InternalException |
static TColumnValue | EvalConstExpr (Expr expr, TQueryCtx queryCtx) throws InternalException |
static TSymbolLookupResult | LookupSymbol (TSymbolLookupParams params) throws InternalException |
static boolean | EvalPredicate (Expr pred, TQueryCtx queryCtx) throws InternalException |
static TResultRow | EvalPredicateBatch (ArrayList< Expr > exprs, TQueryCtx queryCtx) throws InternalException |
static TStatus | PrioritizeLoad (Set< TableName > tableNames) throws InternalException |
static TStartupOptions | GetStartupOptions () throws InternalException |
Static Private Member Functions | |
static byte[] | CacheJar (byte[] thriftParams) |
static byte[] | LookupSymbol (byte[] thriftParams) |
static byte[] | EvalConstExprs (byte[] thriftExprBatch, byte[] thriftQueryContext) |
static byte[] | PrioritizeLoad (byte[] thriftReq) |
static synchronized void | loadLibrary () |
Static Private Attributes | |
static final Logger | LOG = LoggerFactory.getLogger(FeSupport.class) |
static boolean | loaded_ = false |
This class provides the Impala executor functionality to the FE. fe-support.cc implements all the native calls. If the planner is executed inside Impalad, Impalad would have registered all the JNI native functions already. There's no need to load the shared library. For unit test (mvn test), load the shared library because the native function has not been loaded yet.
Definition at line 60 of file FeSupport.java.
|
inlinestatic |
Locally caches the jar at the specified HDFS location.
hdfsLocation | The path to the jar in HDFS |
Definition at line 94 of file FeSupport.java.
|
inlinestaticprivate |
Definition at line 113 of file FeSupport.java.
References com.cloudera.impala.service.FeSupport.loadLibrary(), and com.cloudera.impala.service.FeSupport.NativeCacheJar().
|
inlinestatic |
Definition at line 122 of file FeSupport.java.
References com.cloudera.impala.service.FeSupport.EvalConstExprs().
Referenced by com.cloudera.impala.service.FeSupport.EvalPredicate().
|
inlinestaticprivate |
Definition at line 169 of file FeSupport.java.
References com.cloudera.impala.service.FeSupport.loadLibrary(), and com.cloudera.impala.service.FeSupport.NativeEvalConstExprs().
Referenced by com.cloudera.impala.service.FeSupport.EvalConstExpr(), and com.cloudera.impala.service.FeSupport.EvalPredicateBatch().
|
inlinestatic |
Definition at line 179 of file FeSupport.java.
References com.cloudera.impala.service.FeSupport.EvalConstExpr().
Referenced by com.cloudera.impala.analysis.Analyzer.markConstantConjunct().
|
inlinestatic |
Evaluate a batch of predicates in the BE. The results are stored in a TResultRow object, where each TColumnValue in it stores the result of a predicate evaluation.
TODO: This function is currently used for improving the performance of partition pruning (see IMPALA-887), hence it only supports boolean exprs. In the future, we can extend it to support arbitrary constant exprs.
Definition at line 199 of file FeSupport.java.
References com.cloudera.impala.service.FeSupport.EvalConstExprs().
|
inlinestatic |
Definition at line 263 of file FeSupport.java.
References com.cloudera.impala.service.FeSupport.NativeGetStartupOptions().
|
inlinestaticprivate |
This function should only be called explicitly by the FeSupport to ensure that native functions are loaded.
Definition at line 281 of file FeSupport.java.
References com.cloudera.impala.service.FeSupport.loaded_, and com.cloudera.impala.service.FeSupport.NativeFeTestInit().
Referenced by com.cloudera.impala.service.FeSupport.CacheJar(), com.cloudera.impala.service.FeSupport.EvalConstExprs(), com.cloudera.impala.service.FeSupport.LookupSymbol(), and com.cloudera.impala.service.FeSupport.PrioritizeLoad().
|
inlinestaticprivate |
Definition at line 144 of file FeSupport.java.
References com.cloudera.impala.service.FeSupport.loadLibrary(), and com.cloudera.impala.service.FeSupport.NativeLookupSymbol().
Referenced by com.cloudera.impala.service.FeSupport.LookupSymbol().
|
inlinestatic |
Definition at line 153 of file FeSupport.java.
References com.cloudera.impala.service.FeSupport.LookupSymbol().
|
static |
Referenced by com.cloudera.impala.service.FeSupport.CacheJar().
|
static |
Referenced by com.cloudera.impala.service.FeSupport.EvalConstExprs().
|
static |
Referenced by com.cloudera.impala.service.FeSupport.loadLibrary().
|
static |
Referenced by com.cloudera.impala.service.FeSupport.GetStartupOptions().
|
static |
Referenced by com.cloudera.impala.service.FeSupport.LookupSymbol().
|
static |
Referenced by com.cloudera.impala.service.FeSupport.PrioritizeLoad().
|
inlinestaticprivate |
Definition at line 224 of file FeSupport.java.
References com.cloudera.impala.service.FeSupport.loadLibrary(), and com.cloudera.impala.service.FeSupport.NativePrioritizeLoad().
Referenced by com.cloudera.impala.service.FeSupport.PrioritizeLoad().
|
inlinestatic |
Definition at line 233 of file FeSupport.java.
References com.cloudera.impala.service.FeSupport.PrioritizeLoad().
|
staticprivate |
Definition at line 62 of file FeSupport.java.
Referenced by com.cloudera.impala.service.FeSupport.loadLibrary().
|
staticprivate |
Definition at line 61 of file FeSupport.java.