My Project
|
#include <ha_ndbcluster_push.h>
Classes | |
struct | pushed_tables |
struct | table_remap |
Public Member Functions | |
ndb_pushed_builder_ctx (const AQP::Join_plan &plan) | |
int | make_pushed_join (const AQP::Table_access *join_root, const ndb_pushed_join *&pushed_join) |
const NdbError & | getNdbError () const |
Contains the context and helper methods used during ::make_pushed_join().
Interacts with the AQP which provides interface to the query prepared by the mysqld optimizer.
Execution plans built for pushed joins are stored inside this builder context.
int ndb_pushed_builder_ctx::make_pushed_join | ( | const AQP::Table_access * | join_root, |
const ndb_pushed_join *& | pushed_join | ||
) |
Build the pushed query identified with 'is_pushable_with_root()'. Returns: = 0: A NdbQueryDef has successfully been prepared for execution. > 0: Returned value is the error code. < 0: There is a pending NdbError to be retrieved with getNdbError()