26#ifndef TEMPTABLE_CELL_H
27#define TEMPTABLE_CELL_H
53 const unsigned char *
data);
65 const unsigned char *
data()
const;
80inline Cell::Cell(
bool is_null, uint32_t data_length,
const unsigned char *data)
81 : 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:41
Cell(bool is_null, uint32_t data_length, const unsigned char *data)
Constructor.
Definition: cell.h:80
const bool m_is_null
Designate whether the cell is NULL.
Definition: cell.h:69
const unsigned char * data() const
Get a pointer to the user data inside the row.
Definition: cell.h:87
bool is_null() const
Check if this cell is NULL.
Definition: cell.h:83
const uint32_t m_data_length
Length of the user data pointed by m_data in bytes.
Definition: cell.h:72
uint32_t data_length() const
Get the length of the user data.
Definition: cell.h:85
const unsigned char *const m_data
User data.
Definition: cell.h:75
Definition: allocator.h:44