Debian Codegraph @

storage/maria/ha_s3.h

raw symbols SCIP
1 #cxx . . $ `<file>/storage/maria/ha_s3.h`/ifndef HA_S3_INCLUDED
2 #define HA_S3_INCLUDEDcxx . . $ `storage/maria/ha_s3.h:2:9`!
3 /* Copyright (C) 2019, 2020, MariaDB Corporation AB
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; version 2 of the License.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the
16 Free Software Foundation, Inc.
17 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
18 */
19
20 #include "ha_maria.h"cxx . . $ `<file>/storage/maria/ha_maria.h`/
21
22 class ha_s3cxx . . $ ha_s3# final :public ha_mariacxx . . $ ha_maria#
23 {
24 enum alter_table_opcxx . . $ ha_s3#alter_table_op#
25 { S3_NO_ALTERcxx . . $ ha_s3#S3_NO_ALTER., S3_ALTER_TABLEcxx . . $ ha_s3#S3_ALTER_TABLE., S3_ADD_PARTITIONcxx . . $ ha_s3#S3_ADD_PARTITION., S3_ADD_TMP_PARTITIONcxx . . $ ha_s3#S3_ADD_TMP_PARTITION. };
26 alter_table_opcxx . . $ ha_s3#alter_table_op# in_alter_tablecxx . . $ ha_s3#in_alter_table.;
27 S3_INFO *open_argscxx . . $ ha_s3#open_args.;
28
29 public:
30 ha_s3cxx . . $ ha_s3#ha_s3(4ed6374a37a121ca).(handlertoncxx . . $ handlerton# *hton, TABLE_SHAREcxx . . $ TABLE_SHARE# * table_arg);
31 ~cxx . . $ ha_s3#`~ha_s3`(ced63f7c635d850d).ha_s3cxx . . $ ha_s3#() {}
32
33 int createcxx . . $ ha_s3#create(cdb011dbefdc6262).(const char *name, TABLEcxx . . $ TABLE# *table_arg,
34 HA_CREATE_INFOcxx . . $ HA_CREATE_INFO# *ha_create_info) override;
35 int opencxx . . $ ha_s3#open(ac5e327aedb29b06).(const char *name, int mode, uint open_flags) override;
36 int write_rowcxx . . $ ha_s3#write_row(b84ccf4e0bb14b06).(const ucharcxx . . $ uchar# *buf) override;
37 int update_rowcxx . . $ ha_s3#update_row(e46526da1a64e2fc).(const ucharcxx . . $ uchar# *, const ucharcxx . . $ uchar# *) override
38 {
39 DBUG_ENTERcxx . . $ `include/my_dbug.h:165:9`!("update_row");
40 DBUG_RETURNcxx . . $ `include/my_dbug.h:168:9`!(HA_ERR_TABLE_READONLYcxx . . $ `include/my_base.h:517:9`!);
41 }
42 int delete_rowcxx . . $ ha_s3#delete_row(b84ccf4e0bb14b06).(const ucharcxx . . $ uchar# *) override
43 {
44 DBUG_ENTERcxx . . $ `include/my_dbug.h:165:9`!("delete_row");
45 DBUG_RETURNcxx . . $ `include/my_dbug.h:168:9`!(HA_ERR_TABLE_READONLYcxx . . $ `include/my_base.h:517:9`!);
46 }
47 int analyzecxx . . $ ha_s3#analyze(95babc367ae08d43).(THDcxx . . $ THD# *, HA_CHECK_OPTcxx . . $ HA_CHECK_OPT# *) override
48 {
49 DBUG_ENTERcxx . . $ `include/my_dbug.h:165:9`!("analyze");
50 DBUG_RETURNcxx . . $ `include/my_dbug.h:168:9`!(HA_ERR_TABLE_READONLYcxx . . $ `include/my_base.h:517:9`!);
51 }
52 int repaircxx . . $ ha_s3#repair(95babc367ae08d43).(THDcxx . . $ THD# * thd, HA_CHECK_OPTcxx . . $ HA_CHECK_OPT# * check_opt) override
53 {
54 DBUG_ENTERcxx . . $ `include/my_dbug.h:165:9`!("repair");
55 DBUG_RETURNcxx . . $ `include/my_dbug.h:168:9`!(HA_ERR_TABLE_READONLYcxx . . $ `include/my_base.h:517:9`!);
56 }
57 int preload_keyscxx . . $ ha_s3#preload_keys(95babc367ae08d43).(THDcxx . . $ THD# * thd, HA_CHECK_OPTcxx . . $ HA_CHECK_OPT# * check_opt) override
58 {
59 DBUG_ENTERcxx . . $ `include/my_dbug.h:165:9`!("preload_keys");
60 DBUG_RETURNcxx . . $ `include/my_dbug.h:168:9`!(HA_ERR_TABLE_READONLYcxx . . $ `include/my_base.h:517:9`!);
61 }
62 int external_lockcxx . . $ ha_s3#external_lock(55bfda0c556d7e61).(THDcxx . . $ THD# * thd, int lock_type) override;
63 /*
64 drop_table() is only used for internal temporary tables,
65 not applicable for s3
66 */
67 void drop_tablecxx . . $ ha_s3#drop_table(85c52e162fed56f9).(const char *) override {}
68 int delete_tablecxx . . $ ha_s3#delete_table(5c4306d8553b3696).(const char *name) override;
69 int rename_tablecxx . . $ ha_s3#rename_table(5ae29d726ae57f88).(const char *from, const char *to) override;
70 int discover_check_versioncxx . . $ ha_s3#discover_check_version(b126dc7c1de90089).() override;
71 int rebindcxx . . $ ha_s3#rebind(b126dc7c1de90089).();
72 S3_INFO *s3_open_argscxx . . $ ha_s3#s3_open_args(636d4fed7dd18516).() override { return open_argscxx . . $ ha_s3#open_args.; }
73 void register_handlercxx . . $ ha_s3#register_handler(1e8279855a45f04d).(MARIA_HA *file) override;
74 };
75 #endif /* HA_S3_INCLUDED */