~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/access_method.h

  • Committer: Olaf van der Spek
  • Date: 2011-06-25 13:36:24 UTC
  • mto: This revision was merged to the branch mainline in revision 2349.
  • Revision ID: olafvdspek@gmail.com-20110625133624-hzy2ordecn161qco
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
#pragma once
22
22
 
23
 
#include <drizzled/definitions.h>
24
 
#include <drizzled/error.h>
25
 
#include <drizzled/sql_parse.h>
26
 
#include <drizzled/sql_base.h>
27
 
#include <drizzled/show.h>
 
23
#include <drizzled/common_fwd.h>
28
24
 
29
25
namespace drizzled {
30
26
namespace optimizer {
36
32
class AccessMethod
37
33
{
38
34
public:
39
 
 
40
 
  AccessMethod() {}
 
35
  typedef boost::shared_ptr<AccessMethod> ptr;
41
36
 
42
37
  virtual ~AccessMethod() {}
43
38
 
48
43
   * @param[in] join_tab
49
44
   * @return true on failure; false on success
50
45
   */
51
 
  virtual bool getStats(Table *table,
52
 
                        JoinTable *join_tab)= 0;
53
 
 
 
46
  virtual void getStats(Table&, JoinTable&)= 0;
54
47
};
55
48
 
56
49
} /* end namespace optimizer */
57
 
 
58
50
} /* end namespace drizzled */
59
51