Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
impala::DictEncoder< T >::Node Struct Reference

Node in the chained hash table. More...

Collaboration diagram for impala::DictEncoder< T >::Node:

Public Types

enum  { INVALID_INDEX = 40000 }
 

Public Member Functions

 Node (const T &v, const NodeIndex &n)
 

Public Attributes

value
 The dictionary value. More...
 
NodeIndex next
 Index into nodes_ for the next Node in the chain. INVALID_INDEX indicates end. More...
 

Detailed Description

template<typename T>
struct impala::DictEncoder< T >::Node

Node in the chained hash table.

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

Member Enumeration Documentation

template<typename T>
anonymous enum

The maximum number of values in the dictionary. Chosen to be around 60% of HASH_TABLE_SIZE to limit the expected length of the chains.

Enumerator
INVALID_INDEX 

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

Constructor & Destructor Documentation

template<typename T>
impala::DictEncoder< T >::Node::Node ( const T &  v,
const NodeIndex n 
)
inline

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

Member Data Documentation

template<typename T>
NodeIndex impala::DictEncoder< T >::Node::next

Index into nodes_ for the next Node in the chain. INVALID_INDEX indicates end.

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

Referenced by impala::DictEncoder< T >::Put().

template<typename T>
T impala::DictEncoder< T >::Node::value

The dictionary value.

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

Referenced by impala::DictEncoder< T >::Put(), and impala::DictEncoder< T >::WriteDict().


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