~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/info_schema/info_schema_methods.h

Merged in plugin-slot-reorg patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef DRIZZLED_INFO_SCHEMA_METHODS_H
22
22
#define DRIZZLED_INFO_SCHEMA_METHODS_H
23
23
 
24
 
#include "drizzled/info_schema.h"
 
24
#include "drizzled/plugin/info_schema.h"
25
25
 
26
26
/**
27
27
 * @class CharSetISMethods
30
30
 *   CHARACTER_SET I_S table needs besides the default
31
31
 *   methods.
32
32
 */
33
 
class CharSetISMethods : public InfoSchemaMethods
 
33
class CharSetISMethods : public drizzled::plugin::InfoSchemaMethods
34
34
{
35
35
public:
36
36
  virtual int fillTable(Session *session, 
37
37
                        TableList *tables,
38
38
                        COND *cond);
39
 
  virtual int oldFormat(Session *session, InfoSchemaTable *schema_table) const;
 
39
  virtual int oldFormat(Session *session,
 
40
                        drizzled::plugin::InfoSchema *schema_table) const;
40
41
};
41
42
 
42
43
/**
45
46
 *   Class which implements any methods that the Collations
46
47
 *   I_S table needs besides the default methods
47
48
 */
48
 
class CollationISMethods : public InfoSchemaMethods
 
49
class CollationISMethods : public drizzled::plugin::InfoSchemaMethods
49
50
{
50
51
public:
51
52
  virtual int fillTable(Session *session,
59
60
 *   Class which implements any methods that the collation char set
60
61
 *   I_S table needs besides the default methods
61
62
 */
62
 
class CollCharISMethods : public InfoSchemaMethods
 
63
class CollCharISMethods : public drizzled::plugin::InfoSchemaMethods
63
64
{
64
65
public:
65
66
  virtual int fillTable(Session *session,
73
74
 *   Class which implements any methods that the COLUMNS
74
75
 *   I_S table needs besides the default methods
75
76
 */
76
 
class ColumnsISMethods : public InfoSchemaMethods
 
77
class ColumnsISMethods : public drizzled::plugin::InfoSchemaMethods
77
78
{
78
79
public:
79
 
  virtual int oldFormat(Session *session, InfoSchemaTable *schema_table) const;
 
80
  virtual int oldFormat(Session *session,
 
81
                        drizzled::plugin::InfoSchema *schema_table) const;
80
82
};
81
83
 
82
84
/**
85
87
 *   Class which implements any methods that the key column usage
86
88
 *   I_S table needs besides the default methods
87
89
 */
88
 
class KeyColUsageISMethods : public InfoSchemaMethods
 
90
class KeyColUsageISMethods : public drizzled::plugin::InfoSchemaMethods
89
91
{
90
92
public:
91
93
  virtual int processTable(Session *session, TableList *tables,
99
101
 *   Class which implements any methods that the OPEN_TABLES
100
102
 *   I_S table needs besides the default methods
101
103
 */
102
 
class OpenTablesISMethods : public InfoSchemaMethods
 
104
class OpenTablesISMethods : public drizzled::plugin::InfoSchemaMethods
103
105
{
104
106
public:
105
107
  virtual int fillTable(Session *session,
113
115
 *   Class which implements any methods that the PLUGINS
114
116
 *   I_S table needs besides the default methods
115
117
 */
116
 
class PluginsISMethods : public InfoSchemaMethods
 
118
class PluginsISMethods : public drizzled::plugin::InfoSchemaMethods
117
119
{
118
120
public:
119
121
  virtual int fillTable(Session *session,
127
129
 *   Class which implements any methods that the PROCESSLIST
128
130
 *   I_S table needs besides the default methods
129
131
 */
130
 
class ProcessListISMethods : public InfoSchemaMethods
 
132
class ProcessListISMethods : public drizzled::plugin::InfoSchemaMethods
131
133
{
132
134
public:
133
135
  virtual int fillTable(Session *session,
141
143
 *   Class which implements any methods that the REFERENTIAL_CONSTRAINTS
142
144
 *   I_S table needs besides the default methods
143
145
 */
144
 
class RefConstraintsISMethods : public InfoSchemaMethods
 
146
class RefConstraintsISMethods : public drizzled::plugin::InfoSchemaMethods
145
147
{
146
148
public:
147
149
  /**
168
170
 *   Class which implements any methods that the SCHEMATA
169
171
 *   I_S table needs besides the default methods
170
172
 */
171
 
class SchemataISMethods : public InfoSchemaMethods
 
173
class SchemataISMethods : public drizzled::plugin::InfoSchemaMethods
172
174
{
173
175
public:
174
176
  virtual int fillTable(Session *session,
175
177
                        TableList *tables,
176
178
                        COND *cond);
177
 
  virtual int oldFormat(Session *session, InfoSchemaTable *schema_table) const;
 
179
  virtual int oldFormat(Session *session,
 
180
                        drizzled::plugin::InfoSchema *schema_table) const;
178
181
};
179
182
 
180
183
/**
183
186
 *   Class which implements any methods that the SCHEMATA
184
187
 *   I_S table needs besides the default methods
185
188
 */
186
 
class StatsISMethods : public InfoSchemaMethods
 
189
class StatsISMethods : public drizzled::plugin::InfoSchemaMethods
187
190
{
188
191
public:
189
192
  virtual int processTable(Session *session, TableList *tables,
197
200
 *   Class which implements any methods that the STATUS
198
201
 *   I_S table needs besides the default methods
199
202
 */
200
 
class StatusISMethods : public InfoSchemaMethods
 
203
class StatusISMethods : public drizzled::plugin::InfoSchemaMethods
201
204
{
202
205
public:
203
206
  virtual int fillTable(Session *session, 
211
214
 *   Class which implements any methods that the TABLE_CONSTRAINTS
212
215
 *   I_S table needs besides the default methods
213
216
 */
214
 
class TabConstraintsISMethods : public InfoSchemaMethods
 
217
class TabConstraintsISMethods : public drizzled::plugin::InfoSchemaMethods
215
218
{
216
219
public:
217
220
  virtual int processTable(Session *session, TableList *tables,
225
228
 *   Class which implements any methods that the TABLE_NAMES
226
229
 *   I_S table needs besides the default methods
227
230
 */
228
 
class TablesISMethods : public InfoSchemaMethods
 
231
class TablesISMethods : public drizzled::plugin::InfoSchemaMethods
229
232
{
230
233
public:
231
234
  virtual int processTable(Session *session, TableList *tables,
239
242
 *   Class which implements any methods that the TABLE_NAMES
240
243
 *   I_S table needs besides the default methods
241
244
 */
242
 
class TabNamesISMethods : public InfoSchemaMethods
 
245
class TabNamesISMethods : public drizzled::plugin::InfoSchemaMethods
243
246
{
244
247
public:
245
 
  virtual int oldFormat(Session *session, InfoSchemaTable *schema_table) const;
 
248
  virtual int oldFormat(Session *session,
 
249
                        drizzled::plugin::InfoSchema *schema_table) const;
246
250
};
247
251
 
248
252
/**
251
255
 *   Class which implements any methods that the VARIABLES
252
256
 *   I_S table needs besides the default methods
253
257
 */
254
 
class VariablesISMethods : public InfoSchemaMethods
 
258
class VariablesISMethods : public drizzled::plugin::InfoSchemaMethods
255
259
{
256
260
public:
257
261
  virtual int fillTable(Session *session,