blob: ac2c135b6b137237ade17e4c02fa5a74cd0c1101 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef MYGRATE_ROW_H
#define MYGRATE_ROW_H
#include "mysql_types.h"
#include "rawDataReader.h"
#include <functional>
namespace MyGrate {
class Row {
public:
Row(const st_mariadb_rpl_rows_event &, const st_mariadb_rpl_table_map_event &);
void forEachField(const std::function<void(MySQL::FieldValue)> & callback);
private:
const st_mariadb_rpl_rows_event & row;
const st_mariadb_rpl_table_map_event & tm;
};
}
#endif
|