~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/field.h

  • Committer: Brian Aker
  • Date: 2009-01-24 09:43:35 UTC
  • Revision ID: brian@gir-3.local-20090124094335-6qdtvc35gl5fvivz
Adding in an example singe thread scheduler

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef DRIZZLED_ITEM_FIELD_H
21
21
#define DRIZZLED_ITEM_FIELD_H
22
22
 
23
 
namespace drizzled
24
 
{
25
 
 
26
23
extern Item **not_found_item;
27
24
class COND_EQUAL;
28
25
 
71
68
  String *str_result(String* tmp);
72
69
  my_decimal *val_decimal_result(my_decimal *);
73
70
  bool val_bool_result();
74
 
  bool send(plugin::Client *client, String *str_arg);
 
71
  bool send(Protocol *protocol, String *str_arg);
75
72
  void reset_field(Field *f);
76
73
  bool fix_fields(Session *, Item **);
77
 
  void fix_after_pullout(Select_Lex *new_parent, Item **ref);
78
 
  void make_field(SendField *tmp_field);
 
74
  void fix_after_pullout(st_select_lex *new_parent, Item **ref);
 
75
  void make_field(Send_field *tmp_field);
79
76
  int save_in_field(Field *field,bool no_conversions);
80
77
  void save_org_in_field(Field *field);
81
78
  table_map used_tables() const;
82
79
  enum Item_result result_type () const;
83
80
  Item_result cast_to_int_type() const;
84
81
  enum_field_types field_type() const;
 
82
  enum_monotonicity_info get_monotonicity_info() const
 
83
  {
 
84
    return MONOTONIC_STRICT_INCREASING;
 
85
  }
85
86
  int64_t val_int_endpoint(bool left_endp, bool *incl_endp);
86
87
  Field *get_tmp_table_field() { return result_field; }
87
88
  Field *tmp_table_field(Table *) { return result_field; }
94
95
  bool collect_item_field_processor(unsigned char * arg);
95
96
  bool find_item_in_field_list_processor(unsigned char *arg);
96
97
  bool register_field_in_read_map(unsigned char *arg);
 
98
  bool register_field_in_bitmap(unsigned char *arg);
 
99
  bool check_vcol_func_processor(unsigned char *)
 
100
  { return false; }
97
101
  void cleanup();
98
102
  bool result_as_int64_t();
99
103
  Item_equal *find_item_equal(COND_EQUAL *cond_equal);
102
106
  bool set_no_const_sub(unsigned char *arg);
103
107
  Item *replace_equal_field(unsigned char *arg);
104
108
  uint32_t max_disp_length();
 
109
  Item_field *filed_for_view_update() { return this; }
105
110
  Item *safe_charset_converter(const CHARSET_INFO * const tocs);
106
111
  int fix_outer_field(Session *session, Field **field, Item **reference);
107
112
  virtual Item *update_value_transformer(unsigned char *select_arg);
109
114
 
110
115
  friend class Item_default_value;
111
116
  friend class Item_insert_value;
112
 
  friend class Select_Lex_Unit;
 
117
  friend class st_select_lex_unit;
113
118
};
114
119
 
115
 
} /* namespace drizzled */
116
 
 
117
120
#endif /* DRIZZLED_ITEM_FIELD_H */