Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Classes | |
struct | ProbeTestData |
Public Member Functions | |
OldHashTableTest () | |
Protected Member Functions | |
virtual void | SetUp () |
virtual void | TearDown () |
TupleRow * | CreateTupleRow (int32_t val) |
void | ResizeTable (OldHashTable *table, int64_t new_size) |
void | FullScan (OldHashTable *table, int min, int max, bool all_unique, TupleRow **results, TupleRow **expected) |
void | ValidateMatch (TupleRow *probe_row, TupleRow *build_row) |
void | ProbeTest (OldHashTable *table, ProbeTestData *data, int num_data, bool scan) |
Protected Attributes | |
ObjectPool | pool_ |
MemTracker | tracker_ |
MemPool | mem_pool_ |
vector< ExprContext * > | build_expr_ctxs_ |
vector< ExprContext * > | probe_expr_ctxs_ |
Definition at line 38 of file old-hash-table-test.cc.
|
inline |
Definition at line 40 of file old-hash-table-test.cc.
|
inlineprotected |
Definition at line 76 of file old-hash-table-test.cc.
References impala::MemPool::Allocate(), impala::Tuple::Create(), mem_pool_, and impala::TupleRow::SetTuple().
|
inlineprotected |
Definition at line 95 of file old-hash-table-test.cc.
References impala::OldHashTable::Begin(), build_expr_ctxs_, impala::OldHashTable::End(), impala::OldHashTable::Iterator::GetRow(), impala::TupleRow::GetTuple(), and impala::OldHashTable::Iterator::Next().
|
inlineprotected |
Definition at line 126 of file old-hash-table-test.cc.
References impala::OldHashTable::End(), impala::OldHashTableTest::ProbeTestData::expected_build_rows, impala::OldHashTable::Find(), impala::OldHashTable::Iterator::GetRow(), impala::TupleRow::GetTuple(), impala::OldHashTable::Iterator::Next(), impala::OldHashTableTest::ProbeTestData::probe_row, and ValidateMatch().
|
inlineprotected |
Definition at line 87 of file old-hash-table-test.cc.
References impala::OldHashTable::ResizeBuckets().
|
inlineprotectedvirtual |
Definition at line 49 of file old-hash-table-test.cc.
References impala::ObjectPool::Add(), build_expr_ctxs_, impala::Status::ok(), impala::Expr::Open(), pool_, impala::Expr::Prepare(), probe_expr_ctxs_, tracker_, and impala::TYPE_INT.
|
inlineprotectedvirtual |
Definition at line 71 of file old-hash-table-test.cc.
References build_expr_ctxs_, impala::Expr::Close(), and probe_expr_ctxs_.
|
inlineprotected |
Definition at line 112 of file old-hash-table-test.cc.
References build_expr_ctxs_, and probe_expr_ctxs_.
Referenced by ProbeTest().
|
protected |
Definition at line 46 of file old-hash-table-test.cc.
Referenced by FullScan(), SetUp(), TearDown(), and ValidateMatch().
|
protected |
Definition at line 45 of file old-hash-table-test.cc.
Referenced by CreateTupleRow().
|
protected |
Definition at line 43 of file old-hash-table-test.cc.
Referenced by SetUp().
|
protected |
Definition at line 47 of file old-hash-table-test.cc.
Referenced by SetUp(), TearDown(), and ValidateMatch().
|
protected |
Definition at line 44 of file old-hash-table-test.cc.
Referenced by SetUp().