~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/info_schema.h

Merge for Padraig 

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 OpenTablesISMethods : public InfoSchemaMethods
225
 
{
226
 
public:
227
 
  virtual int fillTable(Session *session, 
228
 
                        TableList *tables,
229
 
                        COND *cond);
230
 
};
231
 
 
232
 
class SchemataISMethods : public InfoSchemaMethods
233
 
{
234
 
public:
235
 
  virtual int fillTable(Session *session, 
236
 
                        TableList *tables,
237
 
                        COND *cond);
238
 
  virtual int oldFormat(Session *session, InfoSchemaTable *schema_table) const;
239
 
};
240
 
 
241
 
class StatsISMethods : public InfoSchemaMethods
242
 
{
243
 
public:
244
 
  virtual int processTable(Session *session, TableList *tables,
245
 
                           Table *table, bool res, LEX_STRING *db_name,
246
 
                           LEX_STRING *table_name) const;
247
 
};
248
 
 
249
 
class TablesISMethods : public InfoSchemaMethods
250
 
{
251
 
public:
252
 
  virtual int processTable(Session *session, TableList *tables,
253
 
                           Table *table, bool res, LEX_STRING *db_name,
254
 
                           LEX_STRING *table_name) const;
255
 
};
256
 
 
257
 
class TabNamesISMethods : public InfoSchemaMethods
258
 
{
259
 
public:
260
 
  virtual int oldFormat(Session *session, InfoSchemaTable *schema_table) const;
261
 
};
262
 
 
263
218
/**
264
 
 * @class 
265
 
 *   InfoSchemaTable
 
219
 * @class InfoSchemaTable
266
220
 * @brief 
267
221
 *   Represents an I_S table.
268
222
 */