15 #ifndef IMPALA_RUNTIME_HBASE_HTABLE_H_
16 #define IMPALA_RUNTIME_HBASE_HTABLE_H_
18 #include <boost/thread.hpp>
31 HBaseTable(
const std::string& table_name, jobject& conf, jobject& executor);
static jmethodID htable_put_id_
htable.put(List<Put> puts
static jmethodID htable_get_scanner_id_
htable.getScannerId(Scan)
Status Put(const jobject &puts_list)
Send an list of puts to hbase through an HTable.
static Status InitJNI()
Call this to initialize the HBase HTable jni references.
static jclass bytes_cl_
Bytes class and static methods.
HBaseTable(const std::string &table_name, jobject &conf, jobject &executor)
Class to wrap JNI calls into HTable.
void Close(RuntimeState *state)
Close and release the HTable wrapped by this class.
static jmethodID htable_ctor_
new HTable(Configuration, ExecutorService)
static jmethodID bytes_to_bytes_id_
Bytes.toBytes(String)
static jclass htable_cl_
org.apache.hadoop.hbase.client.HTable
Status GetResultScanner(const jobject &scan, jobject *result_scanner)
static jmethodID htable_close_id_
htable.close()