~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/info_schema.h

  • Committer: Stewart Smith
  • Date: 2009-07-02 17:18:18 UTC
  • mfrom: (1085 staging)
  • mto: This revision was merged to the branch mainline in revision 1089.
  • Revision ID: stewart@flamingspork.com-20090702171818-qrp4d403iw8tazlg
mergeĀ mainline

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef DRIZZLED_INFO_SCHEMA_H
22
22
#define DRIZZLED_INFO_SCHEMA_H
23
23
 
 
24
#include <string>
 
25
 
24
26
/**
25
27
 * @file
26
28
 *   info_schema.h
32
34
 
33
35
 
34
36
/**
35
 
 * @class 
36
 
 *   ColumnInfo
 
37
 * @class ColumnInfo
37
38
 * @brief
38
39
 *   Represents a field (column) in an I_S table.
39
40
 */
177
178
};
178
179
 
179
180
/**
180
 
 * @class 
181
 
 *   InfoSchemaMethods
 
181
 * @class InfoSchemaMethods
182
182
 * @brief
183
183
 *   The methods that an I_S table can support
184
184
 */
199
199
                        InfoSchemaTable *schema_table) const;
200
200
};
201
201
 
202
 
class ColumnsISMethods : public InfoSchemaMethods
203
 
{
204
 
public:
205
 
  virtual int oldFormat(Session *session, InfoSchemaTable *schema_table) const;
206
 
};
207
 
 
208
202
class StatusISMethods : public InfoSchemaMethods
209
203
{
210
204
public:
221
215
                        COND *cond);
222
216
};
223
217
 
224
 
class KeyColUsageISMethods : public InfoSchemaMethods
225
 
{
226
 
public:
227
 
  virtual int processTable(Session *session, TableList *tables,
228
 
                           Table *table, bool res, LEX_STRING *db_name,
229
 
                           LEX_STRING *table_name) const;
230
 
};
231
 
 
232
 
class OpenTablesISMethods : public InfoSchemaMethods
233
 
{
234
 
public:
235
 
  virtual int fillTable(Session *session, 
236
 
                        TableList *tables,
237
 
                        COND *cond);
238
 
};
239
 
 
240
 
class PluginsISMethods : public InfoSchemaMethods
241
 
{
242
 
public:
243
 
  virtual int fillTable(Session *session, 
244
 
                        TableList *tables,
245
 
                        COND *cond);
246
 
};
247
 
 
248
 
class RefConstraintsISMethods : public InfoSchemaMethods
249
 
{
250
 
public:
251
 
  virtual int processTable(Session *session, TableList *tables,
252
 
                           Table *table, bool res, LEX_STRING *db_name,
253
 
                           LEX_STRING *table_name) const;
254
 
};
255
 
 
256
 
class SchemataISMethods : public InfoSchemaMethods
257
 
{
258
 
public:
259
 
  virtual int fillTable(Session *session, 
260
 
                        TableList *tables,
261
 
                        COND *cond);
262
 
  virtual int oldFormat(Session *session, InfoSchemaTable *schema_table) const;
263
 
};
264
 
 
265
 
class StatsISMethods : public InfoSchemaMethods
266
 
{
267
 
public:
268
 
  virtual int processTable(Session *session, TableList *tables,
269
 
                           Table *table, bool res, LEX_STRING *db_name,
270
 
                           LEX_STRING *table_name) const;
271
 
};
272
 
 
273
 
class TablesISMethods : public InfoSchemaMethods
274
 
{
275
 
public:
276
 
  virtual int processTable(Session *session, TableList *tables,
277
 
                           Table *table, bool res, LEX_STRING *db_name,
278
 
                           LEX_STRING *table_name) const;
279
 
};
280
 
 
281
 
class TabConstraintsISMethods : public InfoSchemaMethods
282
 
{
283
 
public:
284
 
  virtual int processTable(Session *session, TableList *tables,
285
 
                           Table *table, bool res, LEX_STRING *db_name,
286
 
                           LEX_STRING *table_name) const;
287
 
};
288
 
 
289
 
class TabNamesISMethods : public InfoSchemaMethods
290
 
{
291
 
public:
292
 
  virtual int oldFormat(Session *session, InfoSchemaTable *schema_table) const;
293
 
};
294
 
 
295
218
/**
296
 
 * @class 
297
 
 *   InfoSchemaTable
 
219
 * @class InfoSchemaTable
298
220
 * @brief 
299
221
 *   Represents an I_S table.
300
222
 */