27#ifndef TEMPTABLE_CELL_H
28#define TEMPTABLE_CELL_H
54 const unsigned char *
data);
66 const unsigned char *
data()
const;
81inline Cell::Cell(
bool is_null, uint32_t data_length,
const unsigned char *data)
82 : m_is_null(is_null), m_data_length(data_length), m_data(data) {}
A cell is the intersection of a row and a column.
Definition: cell.h:42
Cell(bool is_null, uint32_t data_length, const unsigned char *data)
Constructor.
Definition: cell.h:81
const bool m_is_null
Designate whether the cell is NULL.
Definition: cell.h:70
const unsigned char * data() const
Get a pointer to the user data inside the row.
Definition: cell.h:88
bool is_null() const
Check if this cell is NULL.
Definition: cell.h:84
const uint32_t m_data_length
Length of the user data pointed by m_data in bytes.
Definition: cell.h:73
uint32_t data_length() const
Get the length of the user data.
Definition: cell.h:86
const unsigned char *const m_data
User data.
Definition: cell.h:76
Definition: allocator.h:48