MySQL 8.0.32
Source Code Documentation
anonymous_namespace{sql_prepare.cc}::Query_fetch_protocol_binary Class Referencefinal

A result class used to send cursor rows using the binary protocol. More...

Inheritance diagram for anonymous_namespace{sql_prepare.cc}::Query_fetch_protocol_binary:
[legend]

Public Member Functions

 Query_fetch_protocol_binary (THD *thd)
 
bool send_result_set_metadata (THD *thd, const mem_root_deque< Item * > &list, uint flags) override
 
bool send_data (THD *thd, const mem_root_deque< Item * > &items) override
 
bool send_eof (THD *thd) override
 
- Public Member Functions inherited from Query_result_send
 Query_result_send ()
 
bool check_supports_cursor () const override
 Check if this query result set supports cursors. More...
 
void abort_result_set (THD *thd) override
 
void cleanup () override
 Cleanup after this execution. More...
 
- Public Member Functions inherited from Query_result
 Query_result ()
 
virtual ~Query_result ()=default
 
virtual bool needs_file_privilege () const
 
virtual bool change_query_result (THD *, Query_result *)
 Change wrapped Query_result. More...
 
virtual bool need_explain_interceptor () const
 
virtual bool prepare (THD *, const mem_root_deque< Item * > &, Query_expression *u)
 Perform preparation specific to the query expression or DML statement. More...
 
virtual bool start_execution (THD *)
 Prepare for execution of the query expression or DML statement. More...
 
virtual bool create_table_for_query_block (THD *)
 Create table, only needed to support CREATE TABLE ... SELECT. More...
 
virtual uint field_count (const mem_root_deque< Item * > &fields) const
 
virtual bool reset ()
 Cleanup after one execution of the unit, to be ready for a next execution inside the same statement. More...
 
virtual bool is_interceptor () const
 Checks if this Query_result intercepts and transforms the result set. More...
 
virtual void set_limit (ha_rows)
 Only overridden (and non-empty) for Query_result_union, q.v. More...
 
virtual Server_side_cursorcursor () const
 

Private Attributes

Protocol_binary protocol
 

Additional Inherited Members

- Public Attributes inherited from Query_result
ha_rows estimated_rowcount
 Number of records estimated in this result. More...
 
double estimated_cost
 Cost to execute the subquery which produces this result. More...
 
- Protected Attributes inherited from Query_result
Query_expressionunit
 

Detailed Description

A result class used to send cursor rows using the binary protocol.

Constructor & Destructor Documentation

◆ Query_fetch_protocol_binary()

anonymous_namespace{sql_prepare.cc}::Query_fetch_protocol_binary::Query_fetch_protocol_binary ( THD thd)
inlineexplicit

Member Function Documentation

◆ send_data()

bool anonymous_namespace{sql_prepare.cc}::Query_fetch_protocol_binary::send_data ( THD thd,
const mem_root_deque< Item * > &  items 
)
overridevirtual

Reimplemented from Query_result_send.

◆ send_eof()

bool anonymous_namespace{sql_prepare.cc}::Query_fetch_protocol_binary::send_eof ( THD thd)
overridevirtual

Reimplemented from Query_result_send.

◆ send_result_set_metadata()

bool anonymous_namespace{sql_prepare.cc}::Query_fetch_protocol_binary::send_result_set_metadata ( THD thd,
const mem_root_deque< Item * > &  list,
uint  flags 
)
overridevirtual

Reimplemented from Query_result_send.

Member Data Documentation

◆ protocol

Protocol_binary anonymous_namespace{sql_prepare.cc}::Query_fetch_protocol_binary::protocol
private

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