~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/table_function.h

  • Committer: Olaf van der Spek
  • Date: 2011-03-06 15:49:49 UTC
  • mto: (2226.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2227.
  • Revision ID: olafvdspek@gmail.com-20110306154949-zzso0l15mbwi60xb
Provide drizzle/drizzle.h

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#define DRIZZLED_PLUGIN_TABLE_FUNCTION_H
25
25
 
26
26
#include <drizzled/definitions.h>
27
 
#include "drizzled/plugin.h"
28
 
#include "drizzled/plugin/plugin.h"
29
 
#include "drizzled/identifier.h"
30
 
#include "drizzled/message/table.pb.h"
31
 
#include "drizzled/charset.h"
32
 
#include "drizzled/field.h"
 
27
#include <drizzled/plugin.h>
 
28
#include <drizzled/plugin/plugin.h>
 
29
#include <drizzled/identifier.h>
 
30
#include <drizzled/message/table.pb.h>
 
31
#include <drizzled/charset.h>
 
32
#include <drizzled/field.h>
33
33
 
34
34
#include <string>
35
35
#include <set>
36
36
#include <algorithm>
37
37
 
 
38
#include <drizzled/visibility.h>
 
39
 
38
40
namespace drizzled
39
41
{
40
42
 
41
 
extern int wild_case_compare(const CHARSET_INFO * const cs, 
42
 
                             const char *str,const char *wildstr);
43
 
 
44
43
namespace plugin
45
44
{
46
45
 
61
60
  return buffer;
62
61
}
63
62
 
64
 
class TableFunction : public Plugin
 
63
class DRIZZLED_API TableFunction : public Plugin
65
64
{
66
65
  TableFunction();
67
66
  TableFunction(const TableFunction &);
68
67
  TableFunction& operator=(const TableFunction &);
69
68
 
70
69
  message::Table proto;
71
 
  TableIdentifier identifier;
 
70
  identifier::Table identifier;
72
71
  std::string local_path;
73
72
  std::string original_table_label;
74
73
 
99
98
    BOOLEAN,
100
99
    NUMBER,
101
100
    STRING,
102
 
    VARBINARY
 
101
    VARBINARY,
 
102
    SIZE
103
103
  };
104
104
 
105
105
  class Generator 
185
185
                 uint32_t field_length,
186
186
                 bool is_default_null= false);
187
187
 
188
 
  virtual bool visable() { return true; }
 
188
  virtual bool visible() const { return true; }
189
189
};
190
190
 
191
191
} /* namespace plugin */