OmniSciDB
a5dc49c757
|
Classes | |
struct | OmniSciVtab |
struct | OmniSciCursor |
struct | DecodedString |
Functions | |
int | vt_destructor (sqlite3_vtab *pVtab) |
int | vt_create (sqlite3 *db, void *p_aux, int argc, const char *const *argv, sqlite3_vtab **pp_vt, char **pzErr) |
int | vt_connect (sqlite3 *db, void *p_aux, int argc, const char *const *argv, sqlite3_vtab **pp_vt, char **pzErr) |
int | vt_disconnect (sqlite3_vtab *pVtab) |
int | vt_destroy (sqlite3_vtab *pVtab) |
int | vt_open (sqlite3_vtab *pVTab, sqlite3_vtab_cursor **pp_cursor) |
int | vt_close (sqlite3_vtab_cursor *cur) |
int | vt_eof (sqlite3_vtab_cursor *cur) |
int64_t | get_num_rows (OmniSciCursor *p_cur) |
int | vt_next (sqlite3_vtab_cursor *cur) |
template<class T > | |
DecodedString | decode_string (const int8_t *column, const size_t cursor, StringDictionaryProxy *sdp) |
int | vt_column (sqlite3_vtab_cursor *cur, sqlite3_context *ctx, int col_idx) |
int | vt_rowid (sqlite3_vtab_cursor *cur, sqlite_int64 *p_rowid) |
int | vt_filter (sqlite3_vtab_cursor *p_vtc, int idxNum, const char *idxStr, int argc, sqlite3_value **argv) |
int | vt_best_index (sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo) |
std::vector< TargetMetaInfo > | create_table_schema (const PlanState *plan_state) |
int64_t * | get_scan_output_slot (int64_t *output_buffer, const size_t output_buffer_entry_count, const size_t pos, const size_t row_size_quad) |
Variables | |
sqlite3_module | omnisci_module |
std::vector<TargetMetaInfo> anonymous_namespace{ExternalExecutor.cpp}::create_table_schema | ( | const PlanState * | plan_state | ) |
Definition at line 348 of file ExternalExecutor.cpp.
References CHECK, PlanState::executor_, get_temporary_table(), SQLTypeInfo::get_type_name(), Catalog_Namespace::SysCatalog::getCatalog(), PlanState::global_to_local_col_ids_, Catalog_Namespace::SysCatalog::instance(), is_supported_type_for_extern_execution(), and serialize_column_ref().
Referenced by run_query_external().
DecodedString anonymous_namespace{ExternalExecutor.cpp}::decode_string | ( | const int8_t * | column, |
const size_t | cursor, | ||
StringDictionaryProxy * | sdp | ||
) |
Definition at line 154 of file ExternalExecutor.cpp.
References StringDictionaryProxy::getStringBytes(), run_benchmark_import::result, and heavydb.dtypes::T.
int64_t anonymous_namespace{ExternalExecutor.cpp}::get_num_rows | ( | OmniSciCursor * | p_cur | ) |
Definition at line 127 of file ExternalExecutor.cpp.
References anonymous_namespace{ExternalExecutor.cpp}::OmniSciCursor::base, and CHECK_EQ.
Referenced by vt_column(), and vt_next().
int64_t* anonymous_namespace{ExternalExecutor.cpp}::get_scan_output_slot | ( | int64_t * | output_buffer, |
const size_t | output_buffer_entry_count, | ||
const size_t | pos, | ||
const size_t | row_size_quad | ||
) |
int anonymous_namespace{ExternalExecutor.cpp}::vt_best_index | ( | sqlite3_vtab * | tab, |
sqlite3_index_info * | pIdxInfo | ||
) |
Definition at line 318 of file ExternalExecutor.cpp.
int anonymous_namespace{ExternalExecutor.cpp}::vt_close | ( | sqlite3_vtab_cursor * | cur | ) |
int anonymous_namespace{ExternalExecutor.cpp}::vt_column | ( | sqlite3_vtab_cursor * | cur, |
sqlite3_context * | ctx, | ||
int | col_idx | ||
) |
Definition at line 168 of file ExternalExecutor.cpp.
References CHECK, CHECK_LE, CHECK_LT, ChunkIter_get_nth(), report::cur, logger::FATAL, get_num_rows(), inline_fp_null_value< double >(), inline_fp_null_value< float >(), VarlenDatum::is_null, anonymous_namespace{ExternalExecutor.cpp}::DecodedString::is_null, kBIGINT, kDOUBLE, kENCODING_DICT, kENCODING_NONE, kFLOAT, kINT, kSMALLINT, kTEXT, kTINYINT, VarlenDatum::length, LOG, anonymous_namespace{ExternalExecutor.cpp}::DecodedString::payload, and VarlenDatum::pointer.
int anonymous_namespace{ExternalExecutor.cpp}::vt_connect | ( | sqlite3 * | db, |
void * | p_aux, | ||
int | argc, | ||
const char *const * | argv, | ||
sqlite3_vtab ** | pp_vt, | ||
char ** | pzErr | ||
) |
Definition at line 86 of file ExternalExecutor.cpp.
References vt_create().
int anonymous_namespace{ExternalExecutor.cpp}::vt_create | ( | sqlite3 * | db, |
void * | p_aux, | ||
int | argc, | ||
const char *const * | argv, | ||
sqlite3_vtab ** | pp_vt, | ||
char ** | pzErr | ||
) |
Definition at line 45 of file ExternalExecutor.cpp.
References anonymous_namespace{ExternalExecutor.cpp}::OmniSciVtab::db, join(), shared::transform(), and vt_destructor().
Referenced by vt_connect().
int anonymous_namespace{ExternalExecutor.cpp}::vt_destroy | ( | sqlite3_vtab * | pVtab | ) |
Definition at line 99 of file ExternalExecutor.cpp.
References vt_destructor().
int anonymous_namespace{ExternalExecutor.cpp}::vt_destructor | ( | sqlite3_vtab * | pVtab | ) |
Definition at line 38 of file ExternalExecutor.cpp.
Referenced by vt_create(), vt_destroy(), and vt_disconnect().
int anonymous_namespace{ExternalExecutor.cpp}::vt_disconnect | ( | sqlite3_vtab * | pVtab | ) |
Definition at line 95 of file ExternalExecutor.cpp.
References vt_destructor().
int anonymous_namespace{ExternalExecutor.cpp}::vt_eof | ( | sqlite3_vtab_cursor * | cur | ) |
int anonymous_namespace{ExternalExecutor.cpp}::vt_filter | ( | sqlite3_vtab_cursor * | p_vtc, |
int | idxNum, | ||
const char * | idxStr, | ||
int | argc, | ||
sqlite3_value ** | argv | ||
) |
Definition at line 302 of file ExternalExecutor.cpp.
References anonymous_namespace{ExternalExecutor.cpp}::OmniSciCursor::count, and vt_next().
int anonymous_namespace{ExternalExecutor.cpp}::vt_next | ( | sqlite3_vtab_cursor * | cur | ) |
Definition at line 134 of file ExternalExecutor.cpp.
References report::cur, and get_num_rows().
Referenced by vt_filter().
int anonymous_namespace{ExternalExecutor.cpp}::vt_open | ( | sqlite3_vtab * | pVTab, |
sqlite3_vtab_cursor ** | pp_cursor | ||
) |
Definition at line 109 of file ExternalExecutor.cpp.
int anonymous_namespace{ExternalExecutor.cpp}::vt_rowid | ( | sqlite3_vtab_cursor * | cur, |
sqlite_int64 * | p_rowid | ||
) |
Definition at line 295 of file ExternalExecutor.cpp.
References anonymous_namespace{ExternalExecutor.cpp}::OmniSciCursor::count, and report::cur.
sqlite3_module anonymous_namespace{ExternalExecutor.cpp}::omnisci_module |
Definition at line 322 of file ExternalExecutor.cpp.
Referenced by SqliteMemDatabase::SqliteMemDatabase().