~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/query_rewrite.h

  • Committer: Monty Taylor
  • Date: 2011-02-13 17:26:39 UTC
  • mfrom: (2157.2.2 give-in-to-pkg-config)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110213172639-nhy7i72sfhoq13ms
Merged in pkg-config fixes.

Show diffs side-by-side

added added

removed removed

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