Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
impala::DictDecoderBase Class Referenceabstract

#include <dict-encoding.h>

Inheritance diagram for impala::DictDecoderBase:
Collaboration diagram for impala::DictDecoderBase:

Public Member Functions

void SetData (uint8_t *buffer, int buffer_len)
 The rle encoded indices into the dictionary. More...
 
virtual ~DictDecoderBase ()
 
virtual int num_entries () const =0
 

Protected Attributes

boost::scoped_ptr< RleDecoderdata_decoder_
 

Detailed Description

Decoder class for dictionary encoded data. This class does not allocate any buffers. The input buffers (dictionary buffer and RLE buffer) must be maintained by the caller and valid as long as this object is.

Definition at line 166 of file dict-encoding.h.

Constructor & Destructor Documentation

virtual impala::DictDecoderBase::~DictDecoderBase ( )
inlinevirtual

Definition at line 178 of file dict-encoding.h.

Member Function Documentation

virtual int impala::DictDecoderBase::num_entries ( ) const
pure virtual
void impala::DictDecoderBase::SetData ( uint8_t *  buffer,
int  buffer_len 
)
inline

The rle encoded indices into the dictionary.

Definition at line 169 of file dict-encoding.h.

References data_decoder_.

Referenced by impala::ValidateDict().

Member Data Documentation

boost::scoped_ptr<RleDecoder> impala::DictDecoderBase::data_decoder_
protected

Definition at line 183 of file dict-encoding.h.

Referenced by SetData().


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