MySQL 8.4.2
Source Code Documentation
dd::Raw_new_record Class Reference

#include <raw_record.h>

Inheritance diagram for dd::Raw_new_record:
[legend]

Public Member Functions

 Raw_new_record (TABLE *table)
 
 ~Raw_new_record ()
 
bool insert ()
 Create new record in SE. More...
 
Object_id get_insert_id () const
 
void finalize ()
 
- Public Member Functions inherited from dd::Raw_record
 Raw_record (TABLE *table)
 
bool update ()
 Update table record into SE. More...
 
bool drop ()
 Drop the record from SE. More...
 
bool store_pk_id (int field_no, Object_id id)
 
bool store_ref_id (int field_no, Object_id id)
 
bool store (int field_no, const String_type &s, bool is_null=false)
 
bool store (int field_no, ulonglong ull, bool is_null=false)
 
bool store (int field_no, longlong ll, bool is_null=false)
 
bool store (int field_no, bool b, bool is_null=false)
 
bool store (int field_no, uint v, bool is_null=false)
 
bool store (int field_no, int v, bool is_null=false)
 
bool store (int field_no, const Properties &p)
 
bool store_time (int field_no, my_time_t val, bool is_null=false)
 
bool store_timestamp (int field_no, const my_timeval &tv)
 Store timeval at field specified by field_no into the record. More...
 
bool store_json (int field_no, const Json_wrapper &json)
 
bool is_null (int field_no) const
 
longlong read_int (int field_no) const
 
longlong read_int (int field_no, longlong null_value) const
 
ulonglong read_uint (int field_no) const
 
ulonglong read_uint (int field_no, ulonglong null_value) const
 
String_type read_str (int field_no) const
 
String_type read_str (int field_no, const String_type &null_value) const
 
Object_id read_ref_id (int field_no) const
 
bool read_bool (int field_no) const
 
my_time_t read_time (int field_no) const
 
my_timeval read_timestamp (int field_no) const
 Read timeval stored at field specified by field_no from the record. More...
 
bool read_json (int field_no, Json_wrapper *json_wrapper) const
 

Additional Inherited Members

- Protected Member Functions inherited from dd::Raw_record
void set_null (int field_no, bool is_null)
 
Fieldfield (int field_no) const
 
- Protected Attributes inherited from dd::Raw_record
TABLEm_table
 

Constructor & Destructor Documentation

◆ Raw_new_record()

dd::Raw_new_record::Raw_new_record ( TABLE table)

◆ ~Raw_new_record()

dd::Raw_new_record::~Raw_new_record ( )
inline

Member Function Documentation

◆ finalize()

void dd::Raw_new_record::finalize ( )

◆ get_insert_id()

Object_id dd::Raw_new_record::get_insert_id ( ) const

◆ insert()

bool dd::Raw_new_record::insert ( )

Create new record in SE.

Returns
true - on failure and error is reported.
false - on success.

The documentation for this class was generated from the following files: