OmniSciDB
a5dc49c757
|
#include <InputMetadata.h>
Public Member Functions | |
InputTableInfoCache (Executor *executor) | |
Fragmenter_Namespace::TableInfo | getTableInfo (const shared::TableKey &table_key) |
void | clear () |
Private Attributes | |
std::unordered_map < shared::TableKey, Fragmenter_Namespace::TableInfo > | cache_ |
Executor * | executor_ |
Definition at line 38 of file InputMetadata.h.
InputTableInfoCache::InputTableInfoCache | ( | Executor * | executor | ) |
Definition at line 29 of file InputMetadata.cpp.
void InputTableInfoCache::clear | ( | ) |
Definition at line 80 of file InputMetadata.cpp.
References cache_, and gpu_enabled::swap().
Referenced by Executor::clearMetaInfoCache().
Fragmenter_Namespace::TableInfo InputTableInfoCache::getTableInfo | ( | const shared::TableKey & | table_key | ) |
Definition at line 62 of file InputMetadata.cpp.
References build_table_info(), cache_, cat(), CHECK, anonymous_namespace{InputMetadata.cpp}::copy_table_info(), shared::TableKey::db_id, Catalog_Namespace::SysCatalog::getCatalog(), Catalog_Namespace::SysCatalog::instance(), and shared::TableKey::table_id.
Referenced by Executor::getTableInfo().
|
private |
Definition at line 47 of file InputMetadata.h.
Referenced by clear(), and getTableInfo().
|
private |
Definition at line 48 of file InputMetadata.h.