MySQL 9.0.0
Source Code Documentation
fts_t Class Reference

The state of the FTS sub system. More...

#include <fts0fts.h>

Public Member Functions

 fts_t (dict_table_t *table, mem_heap_t *heap)
 fts_t constructor. More...
 
 ~fts_t ()
 fts_t destructor. More...
 

Public Attributes

ib_mutex_t bg_threads_mutex
 Mutex protecting bg_threads* and fts_add_wq. More...
 
ulint bg_threads
 Number of background threads accessing this table. More...
 
ulint fts_status
 Status bit regarding fts running state. More...
 
ib_wqueue_tadd_wq
 Work queue for scheduling jobs for the FTS 'Add' thread, or NULL if the thread has not yet been created. More...
 
fts_cache_tcache
 FTS memory buffer for this table, or NULL if the table has no FTS index. More...
 
ulint doc_col
 FTS doc id hidden column number in the CLUSTERED index. More...
 
ib_vector_tindexes
 Vector of FTS indexes, this is mainly for caching purposes. More...
 
mem_heap_tfts_heap
 Heap for fts_t allocation. More...
 

Detailed Description

The state of the FTS sub system.

Constructor & Destructor Documentation

◆ fts_t()

fts_t::fts_t ( dict_table_t table,
mem_heap_t heap 
)

fts_t constructor.

Parameters
[in]tabletable with FTS indexes
[in,out]heapmemory heap where 'this' is stored

◆ ~fts_t()

fts_t::~fts_t ( )

fts_t destructor.

Member Data Documentation

◆ add_wq

ib_wqueue_t* fts_t::add_wq

Work queue for scheduling jobs for the FTS 'Add' thread, or NULL if the thread has not yet been created.

Each work item is a fts_trx_doc_ids_t*.

◆ bg_threads

ulint fts_t::bg_threads

Number of background threads accessing this table.

◆ bg_threads_mutex

ib_mutex_t fts_t::bg_threads_mutex

Mutex protecting bg_threads* and fts_add_wq.

◆ cache

fts_cache_t* fts_t::cache

FTS memory buffer for this table, or NULL if the table has no FTS index.

◆ doc_col

ulint fts_t::doc_col

FTS doc id hidden column number in the CLUSTERED index.

◆ fts_heap

mem_heap_t* fts_t::fts_heap

Heap for fts_t allocation.

◆ fts_status

ulint fts_t::fts_status

Status bit regarding fts running state.

true if background threads running should stop themselves.

◆ indexes

ib_vector_t* fts_t::indexes

Vector of FTS indexes, this is mainly for caching purposes.


The documentation for this class was generated from the following files: