~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.h

  • Committer: Stewart Smith
  • Date: 2010-11-03 03:28:23 UTC
  • mto: (1902.1.1 build) (1910.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1903.
  • Revision ID: stewart@flamingspork.com-20101103032823-44k21f0njmk97omr
fix docs warning: Title underline (and overline) is too short in brief_history_of_drizzle.rst

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include <drizzled/plugin.h>
26
26
#include <drizzled/handler_structs.h>
27
27
#include <drizzled/message.h>
28
 
#include <drizzled/message/cache.h>
29
28
#include "drizzled/plugin/plugin.h"
30
29
#include "drizzled/sql_string.h"
31
30
#include "drizzled/identifier.h"
288
287
 
289
288
  virtual void doGetTableIdentifiers(CachedDirectory &directory,
290
289
                                     const drizzled::SchemaIdentifier &schema_identifier,
291
 
                                     TableIdentifier::vector &set_of_identifiers)= 0;
 
290
                                     TableIdentifiers &set_of_identifiers)= 0;
292
291
 
293
292
  virtual int doDropTable(Session &session,
294
293
                          const drizzled::TableIdentifier &identifier)= 0;
299
298
 
300
299
  static int getTableDefinition(Session& session,
301
300
                                const drizzled::TableIdentifier &identifier,
302
 
                                message::table::shared_ptr &table_proto,
 
301
                                message::Table &table_proto,
303
302
                                bool include_temporary_tables= true);
304
303
  static bool doesTableExist(Session &session,
305
304
                             const drizzled::TableIdentifier &identifier,
320
319
                       const drizzled::TableIdentifier &identifier);
321
320
  static void getIdentifiers(Session &session,
322
321
                             const SchemaIdentifier &schema_identifier,
323
 
                             TableIdentifier::vector &set_of_identifiers);
 
322
                             TableIdentifiers &set_of_identifiers);
324
323
 
325
324
  // Check to see if any SE objects to creation.
326
325
  static bool canCreateTable(const drizzled::TableIdentifier &identifier);
328
327
  { (void)identifier;  return true; }
329
328
 
330
329
  // @note All schema methods defined here
331
 
  static void getIdentifiers(Session &session, SchemaIdentifier::vector &schemas);
332
 
  static bool getSchemaDefinition(const drizzled::TableIdentifier &identifier, message::schema::shared_ptr &proto);
333
 
  static bool getSchemaDefinition(const drizzled::SchemaIdentifier &identifier, message::schema::shared_ptr &proto);
 
330
  static void getIdentifiers(Session &session, SchemaIdentifiers &schemas);
 
331
  static bool getSchemaDefinition(const drizzled::TableIdentifier &identifier, message::SchemaPtr &proto);
 
332
  static bool getSchemaDefinition(const drizzled::SchemaIdentifier &identifier, message::SchemaPtr &proto);
334
333
  static bool doesSchemaExist(const drizzled::SchemaIdentifier &identifier);
335
334
  static const CHARSET_INFO *getSchemaCollation(const drizzled::SchemaIdentifier &identifier);
336
335
  static bool createSchema(const drizzled::message::Schema &schema_message);
338
337
  static bool alterSchema(const drizzled::message::Schema &schema_message);
339
338
 
340
339
  // @note make private/protected
341
 
  virtual void doGetSchemaIdentifiers(SchemaIdentifier::vector&)
 
340
  virtual void doGetSchemaIdentifiers(SchemaIdentifiers&)
342
341
  { }
343
342
 
344
 
  virtual bool doGetSchemaDefinition(const drizzled::SchemaIdentifier&, drizzled::message::schema::shared_ptr&)
 
343
  virtual bool doGetSchemaDefinition(const drizzled::SchemaIdentifier&, drizzled::message::SchemaPtr&)
345
344
  { 
346
345
    return false; 
347
346
  }