Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
PointerValue Struct Reference
Collaboration diagram for PointerValue:

Public Member Functions

template<typename T >
GetPointer ()
 
uint16_t GetValue () const
 
template<typename T >
void Get (T &t, uint16_t &v)
 
void UpdatePointer (void *p)
 
void UpdateValue (uint16_t v)
 
void Update (void *p, int16_t v)
 

Public Attributes

union {
   uint64_t   val
 
   uint8_t *   ptr
 
}; 
 

Detailed Description

Definition at line 45 of file tuple-splitter-test.cc.

Member Function Documentation

template<typename T >
void PointerValue::Get ( T &  t,
uint16_t &  v 
)
inline

Definition at line 61 of file tuple-splitter-test.cc.

References POINTER_LOWER_BITS_MASK, and USED_BITS.

template<typename T >
T PointerValue::GetPointer ( )
inline

Definition at line 52 of file tuple-splitter-test.cc.

References POINTER_LOWER_BITS_MASK.

uint16_t PointerValue::GetValue ( ) const
inline

Definition at line 56 of file tuple-splitter-test.cc.

References USED_BITS.

void PointerValue::Update ( void *  p,
int16_t  v 
)
inline

Definition at line 78 of file tuple-splitter-test.cc.

References USED_BITS.

void PointerValue::UpdatePointer ( void *  p)
inline

Definition at line 66 of file tuple-splitter-test.cc.

References USED_BITS.

void PointerValue::UpdateValue ( uint16_t  v)
inline

Definition at line 72 of file tuple-splitter-test.cc.

References UNUSED_BITS, and USED_BITS.

Member Data Documentation

union { ... }
uint8_t* PointerValue::ptr

Definition at line 48 of file tuple-splitter-test.cc.

uint64_t PointerValue::val

Definition at line 47 of file tuple-splitter-test.cc.


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