24#ifndef BINLOG_STORAGE_ITERATOR_SERVICE_HEADERS_H
25#define BINLOG_STORAGE_ITERATOR_SERVICE_HEADERS_H
115 const char *excluded_gtids_as_string));
153 uint64_t buffer_capacity, uint64_t *bytes_read));
static mysql_service_status_t deinit()
Component deinitialization.
Definition: audit_api_message_emit.cc:580
static mysql_service_status_t init()
Component initialization.
Definition: audit_api_message_emit.cc:571
Binlog_iterator_service_init_status
Definition: binlog_storage_iterator.h:35
@ kBinlogIteratorInitErrorUnspecified
Failure to initialize iterator due to undefined error.
Definition: binlog_storage_iterator.h:51
@ kBinlogIteratorInitErrorLogClosed
Returned when the log is closed and therefore the iterator cannot get the change entries.
Definition: binlog_storage_iterator.h:47
@ kBinlogIteratorInitOk
Iterator was successfully initialized.
Definition: binlog_storage_iterator.h:37
@ kBinlogIteratorIniErrorPurgedGtids
Returned when the required GTIDs have already been purged and therefore the iterator cannot fetch the...
Definition: binlog_storage_iterator.h:42
Binlog_iterator_service_get_status
This enumeration lists the possible return values for the get function.
Definition: binlog_storage_iterator.h:56
@ kBinlogIteratorGetErrorClosed
Returned when there is an unrecoverable error and this iterator has been closed.
Definition: binlog_storage_iterator.h:77
@ kBinlogIteratorGetErrorInvalid
returned whenever the iterator context is invalid.
Definition: binlog_storage_iterator.h:83
@ kBinlogIteratorGetErrorUnspecified
returned whenever there was an unspecified error attempting to get the next entry.
Definition: binlog_storage_iterator.h:90
@ kBinlogIteratorGetEndOfChanges
returned when there are no more entries to get.
Definition: binlog_storage_iterator.h:67
@ kBinlogIteratorGetInsufficientBuffer
returned whenever the get was called with an insufficient buffer.
Definition: binlog_storage_iterator.h:73
@ kBinlogIteratorGetOk
returned when the get operation succeeded.
Definition: binlog_storage_iterator.h:60
size_t size(const char *const c)
Definition: base64.h:46
mutable_buffer buffer(void *p, size_t n) noexcept
Definition: buffer.h:418
void get(PSI_field *, PSI_longlong *) noexcept
Definition: pfs_plugin_column_bigint_v1_all_empty.cc:32
#define DECLARE_METHOD(retval, name, args)
Declares a method as a part of the Service definition.
Definition: service.h:103
#define END_SERVICE_DEFINITION(name)
A macro to end the last Service definition started with the BEGIN_SERVICE_DEFINITION macro.
Definition: service.h:91
#define BEGIN_SERVICE_DEFINITION(name)
Declares a new Service.
Definition: service.h:86
#define DEFINE_SERVICE_HANDLE(name)
Defines an object type that is meant for carrying handles to the implementation-specific objects used...
Definition: service.h:129
#define DECLARE_BOOL_METHOD(name, args)
Declares a method that returns bool as a part of the Service definition.
Definition: service.h:112
Definition: file_storage.cc:430