24#ifndef DD__RAW_RECORD_INCLUDED
25#define DD__RAW_RECORD_INCLUDED
93 bool is_null(
int field_no)
const;
Abstraction for accessing JSON values irrespective of whether they are (started out as) binary JSON v...
Definition: json_dom.h:1161
The Properties class defines an interface for storing key=value pairs, where both key and value may b...
Definition: properties.h:74
Definition: raw_record.h:141
bool insert()
Create new record in SE.
Definition: raw_record.cc:309
~Raw_new_record()
Definition: raw_record.h:145
void finalize()
Definition: raw_record.cc:333
Raw_new_record(TABLE *table)
Definition: raw_record.cc:290
Object_id get_insert_id() const
Definition: raw_record.cc:324
Definition: raw_record.h:46
bool drop()
Drop the record from SE.
Definition: raw_record.cc:98
bool store(int field_no, bool b, bool is_null=false)
Definition: raw_record.h:61
bool store_ref_id(int field_no, Object_id id)
Definition: raw_record.cc:127
bool store_time(int field_no, my_time_t val, bool is_null=false)
Definition: raw_record.cc:197
my_timeval read_timestamp(int field_no) const
Read timeval stored at field specified by field_no from the record.
Definition: raw_record.cc:270
bool is_null(int field_no) const
Definition: raw_record.cc:224
bool store_timestamp(int field_no, const my_timeval &tv)
Store timeval at field specified by field_no into the record.
Definition: raw_record.cc:210
bool store(int field_no, uint v, bool is_null=false)
Definition: raw_record.h:65
bool read_json(int field_no, Json_wrapper *json_wrapper) const
Definition: raw_record.cc:282
String_type read_str(int field_no) const
Definition: raw_record.cc:242
longlong read_int(int field_no, longlong null_value) const
Definition: raw_record.h:96
String_type read_str(int field_no, const String_type &null_value) const
Definition: raw_record.h:106
bool store(int field_no, const String_type &s, bool is_null=false)
Definition: raw_record.cc:151
bool store(int field_no, int v, bool is_null=false)
Definition: raw_record.h:69
bool update()
Update table record into SE.
Definition: raw_record.cc:61
TABLE * m_table
Definition: raw_record.h:136
bool store_pk_id(int field_no, Object_id id)
Definition: raw_record.cc:119
my_time_t read_time(int field_no) const
Definition: raw_record.cc:260
ulonglong read_uint(int field_no) const
Definition: raw_record.cc:236
bool store_json(int field_no, const Json_wrapper &json)
Definition: raw_record.cc:217
Raw_record(TABLE *table)
Definition: raw_record.cc:48
Object_id read_ref_id(int field_no) const
Definition: raw_record.cc:253
bool read_bool(int field_no) const
Definition: raw_record.h:112
longlong read_int(int field_no) const
Definition: raw_record.cc:230
void set_null(int field_no, bool is_null)
Definition: raw_record.cc:142
Field * field(int field_no) const
Definition: raw_record.cc:113
ulonglong read_uint(int field_no, ulonglong null_value) const
Definition: raw_record.h:101
const char * p
Definition: ctype-mb.cc:1237
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:56
long long int longlong
Definition: my_inttypes.h:55
Common #defines and includes for file and socket I/O.
int64_t my_time_t
Portable time_t replacement.
Definition: my_time_t.h:32
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
unsigned long long Object_id
Definition: object_id.h:31
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51
Replacement of system's struct timeval to ensure we can carry 64 bit values even on a platform which ...
Definition: my_time_t.h:45
unsigned int uint
Definition: uca9-dump.cc:75