MySQL 8.0.39
Source Code Documentation
|
Generate the next document ID using a monotonic sequence. More...
Public Member Functions | |
Gen_sequence (doc_id_t current) noexcept | |
Constructor. More... | |
~Gen_sequence () noexcept override | |
Destructor. More... | |
doc_id_t | current () noexcept override |
Get the next document ID. More... | |
doc_id_t | fetch (const dtuple_t *dtuple=nullptr) noexcept override |
Not supported. More... | |
void | increment () noexcept override |
Advance the document ID. More... | |
doc_id_t | max_doc_id () const noexcept override |
bool | is_generated () const noexcept override |
doc_id_t | generated_count () const noexcept override |
Public Member Functions inherited from ddl::Context::FTS::Sequence | |
virtual | ~Sequence () noexcept |
Destructor. More... | |
Public Attributes | |
doc_id_t | m_n_generated {} |
Number of document IDs generated. More... | |
Public Attributes inherited from ddl::Context::FTS::Sequence | |
doc_id_t | m_doc_id {} |
Current document ID. More... | |
Generate the next document ID using a monotonic sequence.
|
inlineexplicitnoexcept |
Constructor.
[in] | current | Current (maximum document ID) (> 0). |
|
inlineoverridenoexcept |
Destructor.
|
inlineoverridevirtualnoexcept |
Get the next document ID.
Implements ddl::Context::FTS::Sequence.
|
inlineoverridevirtualnoexcept |
Not supported.
[in] | dtuple | Row from which to fetch ID (ignored). |
Implements ddl::Context::FTS::Sequence.
|
inlineoverridevirtualnoexcept |
Implements ddl::Context::FTS::Sequence.
|
inlineoverridevirtualnoexcept |
Advance the document ID.
Implements ddl::Context::FTS::Sequence.
|
inlineoverridevirtualnoexcept |
Implements ddl::Context::FTS::Sequence.
|
inlineoverridevirtualnoexcept |
Implements ddl::Context::FTS::Sequence.
doc_id_t ddl::Gen_sequence::m_n_generated {} |
Number of document IDs generated.