Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
impala::OldHashTableTest Class Reference
Inheritance diagram for impala::OldHashTableTest:
Collaboration diagram for impala::OldHashTableTest:

Classes

struct  ProbeTestData
 

Public Member Functions

 OldHashTableTest ()
 

Protected Member Functions

virtual void SetUp ()
 
virtual void TearDown ()
 
TupleRowCreateTupleRow (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_
 

Detailed Description

Definition at line 38 of file old-hash-table-test.cc.

Constructor & Destructor Documentation

impala::OldHashTableTest::OldHashTableTest ( )
inline

Definition at line 40 of file old-hash-table-test.cc.

Member Function Documentation

TupleRow* impala::OldHashTableTest::CreateTupleRow ( int32_t  val)
inlineprotected
void impala::OldHashTableTest::FullScan ( OldHashTable table,
int  min,
int  max,
bool  all_unique,
TupleRow **  results,
TupleRow **  expected 
)
inlineprotected
void impala::OldHashTableTest::ResizeTable ( OldHashTable table,
int64_t  new_size 
)
inlineprotected

Definition at line 87 of file old-hash-table-test.cc.

References impala::OldHashTable::ResizeBuckets().

virtual void impala::OldHashTableTest::SetUp ( )
inlineprotectedvirtual
virtual void impala::OldHashTableTest::TearDown ( )
inlineprotectedvirtual

Definition at line 71 of file old-hash-table-test.cc.

References build_expr_ctxs_, impala::Expr::Close(), and probe_expr_ctxs_.

void impala::OldHashTableTest::ValidateMatch ( TupleRow probe_row,
TupleRow build_row 
)
inlineprotected

Definition at line 112 of file old-hash-table-test.cc.

References build_expr_ctxs_, and probe_expr_ctxs_.

Referenced by ProbeTest().

Member Data Documentation

vector<ExprContext*> impala::OldHashTableTest::build_expr_ctxs_
protected

Definition at line 46 of file old-hash-table-test.cc.

Referenced by FullScan(), SetUp(), TearDown(), and ValidateMatch().

MemPool impala::OldHashTableTest::mem_pool_
protected

Definition at line 45 of file old-hash-table-test.cc.

Referenced by CreateTupleRow().

ObjectPool impala::OldHashTableTest::pool_
protected

Definition at line 43 of file old-hash-table-test.cc.

Referenced by SetUp().

vector<ExprContext*> impala::OldHashTableTest::probe_expr_ctxs_
protected

Definition at line 47 of file old-hash-table-test.cc.

Referenced by SetUp(), TearDown(), and ValidateMatch().

MemTracker impala::OldHashTableTest::tracker_
protected

Definition at line 44 of file old-hash-table-test.cc.

Referenced by SetUp().


The documentation for this class was generated from the following file: