Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
#include <jni.h>
#include <string>
#include <vector>
#include "common/status.h"
#include "gen-cpp/Frontend_types.h"
Go to the source code of this file.
Classes | |
class | impala::JniLocalFrame |
struct | impala::JniMethodDescriptor |
Describes one method to look up in a Java object. More... | |
class | impala::JniUtil |
Namespaces | |
impala | |
This file contains type definitions that are used throughout the code base. | |
Macros | |
#define | THROW_IF_ERROR_WITH_LOGGING(stmt, env, adaptor) |
#define | THROW_IF_ERROR(stmt, env, impala_exc_cl) |
#define | THROW_IF_ERROR_RET(stmt, env, impala_exc_cl, ret) |
#define | THROW_IF_EXC(env, exc_class) |
#define | RETURN_IF_EXC(env) |
#define | EXIT_IF_EXC(env) |
#define | RETURN_ERROR_IF_EXC(env) |
#define | EXIT_IF_JNIERROR(stmt) |
#define | RETURN_IF_JNIERROR(stmt) |
Functions | |
JNIEnv * | getJNIEnv (void) |
C linkage for helper functions in hdfsJniHelper.h. More... | |
#define EXIT_IF_EXC | ( | env | ) |
Definition at line 85 of file jni-util.h.
Referenced by impala::Catalog::Catalog(), impala::Frontend::Frontend(), impala::InitFeSupport(), impala::InitJvmLoggingSupport(), Planner::Planner(), and impala::RequestPoolService::RequestPoolService().
#define EXIT_IF_JNIERROR | ( | stmt | ) |
Definition at line 105 of file jni-util.h.
#define RETURN_ERROR_IF_EXC | ( | env | ) |
Definition at line 99 of file jni-util.h.
Referenced by impala::HBaseTableWriter::AppendRowBatch(), CallJniMethod(), impala::JniUtil::CallJniMethod(), impala::HBaseTableWriter::CleanUpJni(), impala::HBaseTableWriter::CreateByteArray(), impala::HBaseTableWriter::CreatePut(), impala::HBaseTableWriter::CreatePutList(), Planner::GeneratePlan(), impala::Catalog::GetAllCatalogObjects(), impala::JniUtil::GetGlobalClassRef(), impala::HBaseTable::GetResultScanner(), impala::HBaseTableScanner::GetRowKey(), impala::HBaseTable::Init(), impala::HBaseTableFactory::Init(), impala::ExternalDataSourceExecutor::Init(), impala::HBaseTableScanner::Init(), impala::HBaseTable::InitJNI(), impala::HBaseTableWriter::InitJNI(), impala::HBaseTableScanner::InitScanRange(), impala::JniUtil::LoadJniMethod(), impala::JniUtil::LocalToGlobalRef(), impala::HBaseTableScanner::Next(), impala::HiveUdfCall::Open(), impala::HBaseTable::Put(), impala::HBaseTableScanner::ScanSetup(), impala::SerializeThriftMsg(), impala::Frontend::SetCatalogInitialized(), and impala::Frontend::ValidateSettings().
#define RETURN_IF_EXC | ( | env | ) |
Definition at line 71 of file jni-util.h.
#define RETURN_IF_JNIERROR | ( | stmt | ) |
Definition at line 113 of file jni-util.h.
#define THROW_IF_ERROR | ( | stmt, | |
env, | |||
impala_exc_cl | |||
) |
Definition at line 37 of file jni-util.h.
#define THROW_IF_ERROR_RET | ( | stmt, | |
env, | |||
impala_exc_cl, | |||
ret | |||
) |
Definition at line 46 of file jni-util.h.
Referenced by Java_com_cloudera_impala_service_FeSupport_NativeCacheJar(), Java_com_cloudera_impala_service_FeSupport_NativeEvalConstExprs(), Java_com_cloudera_impala_service_FeSupport_NativeGetStartupOptions(), Java_com_cloudera_impala_service_FeSupport_NativeLookupSymbol(), and Java_com_cloudera_impala_service_FeSupport_NativePrioritizeLoad().
#define THROW_IF_ERROR_WITH_LOGGING | ( | stmt, | |
env, | |||
adaptor | |||
) |
Definition at line 26 of file jni-util.h.
#define THROW_IF_EXC | ( | env, | |
exc_class | |||
) |
Definition at line 55 of file jni-util.h.
JNIEnv* getJNIEnv | ( | void | ) |
C linkage for helper functions in hdfsJniHelper.h.
Referenced by impala::HBaseTableWriter::AppendRowBatch(), CallJniMethod(), impala::JniUtil::CallJniMethod(), impala::Catalog::Catalog(), impala::JniUtil::Cleanup(), impala::HBaseTableWriter::CleanUpJni(), impala::HBaseTable::Close(), impala::HBaseScanNode::Close(), impala::ExternalDataSourceExecutor::Close(), impala::HiveUdfCall::Close(), impala::HiveUdfCall::Evaluate(), impala::Frontend::Frontend(), Planner::GeneratePlan(), impala::Catalog::GetAllCatalogObjects(), impala::Catalog::GetCatalogVersion(), impala::HBaseScanNode::GetNext(), impala::HBaseTable::GetResultScanner(), impala::HBaseTable::Init(), impala::HBaseTableFactory::Init(), impala::ExternalDataSourceExecutor::Init(), impala::HBaseTableWriter::Init(), impala::HBaseTableScanner::Init(), impala::JniUtil::Init(), impala::InitFeSupport(), impala::HBaseTable::InitJNI(), impala::HBaseTableWriter::InitJNI(), impala::InitJvmLoggingSupport(), impala::HBaseScanNode::Open(), impala::HiveUdfCall::Open(), Planner::Planner(), impala::HBaseTable::Put(), impala::RequestPoolService::RequestPoolService(), impala::Frontend::SetCatalogInitialized(), impala::Frontend::ValidateSettings(), and impala::HBaseTableFactory::~HBaseTableFactory().