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

Protected Member Functions

 DecompressorTest ()
 
 ~DecompressorTest ()
 
void RunTest (THdfsCompression::type format)
 
void RunTestStreaming (THdfsCompression::type format)
 
void CompressAndDecompress (Codec *compressor, Codec *decompressor, int64_t input_len, uint8_t *input)
 
void CompressAndStreamingDecompress (Codec *compressor, Codec *decompressor, int64_t input_len, uint8_t *input)
 
void CompressAndDecompressNoOutputAllocated (Codec *compressor, Codec *decompressor, int64_t input_len, uint8_t *input)
 

Protected Attributes

uint8_t input_ [2 *26 *1024]
 
uint8_t input_streaming_ [32 *1024 *1024+1]
 
MemTracker mem_tracker_
 
MemPool mem_pool_
 

Detailed Description

Definition at line 30 of file decompress-test.cc.

Constructor & Destructor Documentation

impala::DecompressorTest::DecompressorTest ( )
inlineprotected

Definition at line 32 of file decompress-test.cc.

References input_, and input_streaming_.

impala::DecompressorTest::~DecompressorTest ( )
inlineprotected

Definition at line 51 of file decompress-test.cc.

References impala::MemPool::FreeAll(), and mem_pool_.

Member Function Documentation

void impala::DecompressorTest::CompressAndDecompress ( Codec compressor,
Codec decompressor,
int64_t  input_len,
uint8_t *  input 
)
inlineprotected
void impala::DecompressorTest::CompressAndDecompressNoOutputAllocated ( Codec compressor,
Codec decompressor,
int64_t  input_len,
uint8_t *  input 
)
inlineprotected
void impala::DecompressorTest::CompressAndStreamingDecompress ( Codec compressor,
Codec decompressor,
int64_t  input_len,
uint8_t *  input 
)
inlineprotected
void impala::DecompressorTest::RunTest ( THdfsCompression::type  format)
inlineprotected
void impala::DecompressorTest::RunTestStreaming ( THdfsCompression::type  format)
inlineprotected

Member Data Documentation

uint8_t impala::DecompressorTest::input_[2 *26 *1024]
protected

Definition at line 192 of file decompress-test.cc.

Referenced by DecompressorTest(), and RunTest().

uint8_t impala::DecompressorTest::input_streaming_[32 *1024 *1024+1]
protected

Definition at line 198 of file decompress-test.cc.

Referenced by DecompressorTest(), and RunTestStreaming().

MemPool impala::DecompressorTest::mem_pool_
protected
MemTracker impala::DecompressorTest::mem_tracker_
protected

Definition at line 200 of file decompress-test.cc.


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