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

Protected Member Functions

virtual void CreateDescriptors ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 
void CreateMgr (int64_t limit, int block_size)
 
virtual RowBatchCreateIntBatch (int start_val, int num_rows, bool gen_null)
 
virtual RowBatchCreateStringBatch (int string_idx, int num_rows, bool gen_null)
 
void AppendRowTuples (TupleRow *row, vector< int > *results)
 
void AppendRowTuples (TupleRow *row, vector< StringValue > *results)
 
void AppendValue (Tuple *t, vector< int > *results)
 
void AppendValue (Tuple *t, vector< StringValue > *results)
 
template<typename T >
void ReadValues (BufferedTupleStream *stream, RowDescriptor *desc, vector< T > *results, int num_batches=-1)
 
virtual void VerifyResults (const vector< int > &results, int exp_rows, bool gen_null)
 
virtual void VerifyResults (const vector< StringValue > &results, int exp_rows, bool gen_null)
 
template<typename T >
void TestValues (int num_batches, RowDescriptor *desc, bool gen_null)
 
void TestIntValuesInterleaved (int num_batches, int num_batches_before_read)
 

Protected Attributes

scoped_ptr< ExecEnvexec_env_
 
scoped_ptr< RuntimeStateruntime_state_
 
scoped_ptr< MemTrackerblock_mgr_parent_tracker_
 
shared_ptr< BufferedBlockMgrblock_mgr_
 
BufferedBlockMgr::Clientclient_
 
MemTracker tracker_
 
ObjectPool pool_
 
RowDescriptorint_desc_
 
RowDescriptorstring_desc_
 
scoped_ptr< MemPoolmem_pool_
 

Detailed Description

Definition at line 403 of file buffered-tuple-stream-test.cc.

Member Function Documentation

void impala::SimpleTupleStreamTest::AppendRowTuples ( TupleRow row,
vector< int > *  results 
)
inlineprotectedinherited
void impala::SimpleTupleStreamTest::AppendRowTuples ( TupleRow row,
vector< StringValue > *  results 
)
inlineprotectedinherited
void impala::SimpleTupleStreamTest::AppendValue ( Tuple t,
vector< int > *  results 
)
inlineprotectedinherited
void impala::SimpleTupleStreamTest::AppendValue ( Tuple t,
vector< StringValue > *  results 
)
inlineprotectedinherited
void impala::SimpleTupleStreamTest::CreateMgr ( int64_t  limit,
int  block_size 
)
inlineprotectedinherited
virtual void impala::SimpleTupleStreamTest::VerifyResults ( const vector< int > &  results,
int  exp_rows,
bool  gen_null 
)
inlineprotectedvirtualinherited
virtual void impala::SimpleTupleStreamTest::VerifyResults ( const vector< StringValue > &  results,
int  exp_rows,
bool  gen_null 
)
inlineprotectedvirtualinherited

Member Data Documentation

scoped_ptr<MemTracker> impala::SimpleTupleStreamTest::block_mgr_parent_tracker_
protectedinherited
scoped_ptr<ExecEnv> impala::SimpleTupleStreamTest::exec_env_
protectedinherited
scoped_ptr<MemPool> impala::SimpleTupleStreamTest::mem_pool_
protectedinherited

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