#include <hash_join_buffer.h>
◆ HashJoinRowBuffer()
◆ ~HashJoinRowBuffer()
hash_join_buffer::HashJoinRowBuffer::~HashJoinRowBuffer |
( |
| ) |
|
|
default |
◆ contains()
bool hash_join_buffer::HashJoinRowBuffer::contains |
( |
const Key & |
key | ) |
const |
|
inline |
◆ empty()
bool hash_join_buffer::HashJoinRowBuffer::empty |
( |
| ) |
const |
|
inline |
◆ find()
◆ first_row()
◆ Init()
bool hash_join_buffer::HashJoinRowBuffer::Init |
( |
void |
| ) |
|
◆ Initialized()
bool hash_join_buffer::HashJoinRowBuffer::Initialized |
( |
| ) |
const |
|
inline |
◆ LastRowStored()
◆ size()
size_t hash_join_buffer::HashJoinRowBuffer::size |
( |
| ) |
const |
◆ StoreLinkedImmutableStringFromTableBuffers()
◆ StoreRow()
StoreRowResult hash_join_buffer::HashJoinRowBuffer::StoreRow |
( |
THD * |
thd, |
|
|
bool |
reject_duplicate_keys |
|
) |
| |
Store the row that is currently lying in the tables record buffers.
The hash map key is extracted from the join conditions that the row buffer holds.
- Parameters
-
thd | the thread handler |
reject_duplicate_keys | If true, reject rows with duplicate keys. If a row is rejected, the function will still return ROW_STORED. |
- Return values
-
ROW_STORED | the row was stored. |
BUFFER_FULL | the row was stored, and the buffer is full. |
FATAL_ERROR | an unrecoverable error occurred (most likely, malloc failed). It is the caller's responsibility to call my_error(). |
◆ m_buffer
String hash_join_buffer::HashJoinRowBuffer::m_buffer |
|
private |
◆ m_hash_map
std::unique_ptr<HashMap> hash_join_buffer::HashJoinRowBuffer::m_hash_map |
|
private |
◆ m_join_conditions
const std::vector<HashJoinCondition> hash_join_buffer::HashJoinRowBuffer::m_join_conditions |
|
private |
◆ m_last_row_stored
◆ m_max_mem_available
const size_t hash_join_buffer::HashJoinRowBuffer::m_max_mem_available |
|
private |
◆ m_mem_root
MEM_ROOT hash_join_buffer::HashJoinRowBuffer::m_mem_root |
|
private |
◆ m_overflow_mem_root
MEM_ROOT hash_join_buffer::HashJoinRowBuffer::m_overflow_mem_root |
|
private |
◆ m_row_size_upper_bound
size_t hash_join_buffer::HashJoinRowBuffer::m_row_size_upper_bound |
|
private |
◆ m_tables
The documentation for this class was generated from the following files: