Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
#include <descriptors.h>
Public Member Functions | |
NullIndicatorOffset (int byte_offset, int bit_offset) | |
std::string | DebugString () const |
Public Attributes | |
int | byte_offset |
uint8_t | bit_mask |
Location information for null indicator bit for particular slot. For non-nullable slots, the byte_offset will be 0 and the bit_mask will be 0. This allows us to do the NullIndicatorOffset operations (tuple + byte_offset &/| bit_mask) regardless of whether the slot is nullable or not. This is more efficient than branching to check if the slot is non-nullable.
Definition at line 61 of file descriptors.h.
|
inline |
Definition at line 65 of file descriptors.h.
string impala::NullIndicatorOffset::DebugString | ( | ) | const |
Definition at line 38 of file descriptors.cc.
Referenced by impala::SlotDescriptor::DebugString(), and impala::operator<<().
uint8_t impala::NullIndicatorOffset::bit_mask |
Definition at line 63 of file descriptors.h.
Referenced by impala::SlotDescriptor::CodegenIsNull(), impala::SlotDescriptor::CodegenUpdateNull(), impala::SlotRef::GetCodegendComputeFn(), impala::SlotDescriptor::is_nullable(), impala::Tuple::IsNull(), impala::Tuple::SetNotNull(), and impala::Tuple::SetNull().
int impala::NullIndicatorOffset::byte_offset |
Definition at line 62 of file descriptors.h.
Referenced by impala::SlotDescriptor::CodegenIsNull(), impala::SlotDescriptor::CodegenUpdateNull(), impala::SlotRef::GetCodegendComputeFn(), impala::Tuple::IsNull(), impala::Tuple::SetNotNull(), and impala::Tuple::SetNull().