~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/query_rewrite.h

  • Committer: patrick crews
  • Date: 2011-01-30 23:02:12 UTC
  • mto: This revision was merged to the branch mainline in revision 2131.
  • Revision ID: gleebix@gmail.com-20110130230212-nnts892jsc0oiurv
Added initial docs for dbqp.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
#include "drizzled/atomics.h"
28
28
#include "drizzled/plugin/plugin.h"
 
29
#include "drizzled/session.h"
 
30
 
 
31
#include "drizzled/visibility.h"
29
32
 
30
33
/**
31
34
 * @file Defines the API for a QueryRewriter.  
40
43
/**
41
44
 * Class which rewrites queries
42
45
 */
43
 
class QueryRewriter : public Plugin
 
46
class DRIZZLED_API QueryRewriter : public Plugin
44
47
{
45
48
 
46
49
public:
69
72
   * TODO: does it make sense to have multiple rewriters?
70
73
   *
71
74
   * @param[in] schema the schema the current session is
72
 
   * @param[out] to_rewrite string representing the query to rewrite
 
75
   * @param[out] to_rewrite the query to rewrite
73
76
   */
74
77
  static void rewriteQuery(const std::string &schema, std::string &to_rewrite);
75
78