OmniSciDB
94e8789169
|
#include <ForeignStorageInterface.h>
Static Public Member Functions | |
static Data_Namespace::AbstractBufferMgr * | lookupBufferManager (const int db_id, const int table_id) |
static void | registerPersistentStorageInterface (std::unique_ptr< PersistentForeignStorageInterface > persistent_foreign_storage) |
static void | destroy () |
static void | prepareTable (const int db_id, TableDescriptor &td, std::list< ColumnDescriptor > &cols) |
prepare table options and modify columns More... | |
static void | registerTable (Catalog_Namespace::Catalog *catalog, const TableDescriptor &td, const std::list< ColumnDescriptor > &cols) |
ids are created More... | |
Static Private Attributes | |
static std::unordered_map < std::string, std::unique_ptr < PersistentForeignStorageInterface > > | persistent_storage_interfaces_ |
static std::map< std::pair < int, int > , PersistentForeignStorageInterface * > | table_persistent_storage_interface_map_ |
static std::map< std::pair < int, int >, std::unique_ptr < ForeignStorageBufferMgr > > | managers_map_ |
static std::mutex | persistent_storage_interfaces_mutex_ |
Definition at line 218 of file ForeignStorageInterface.h.
|
static |
Definition at line 225 of file ForeignStorageInterface.cpp.
References managers_map_, and persistent_storage_interfaces_.
Referenced by startMapdServer().
|
static |
Definition at line 148 of file ForeignStorageInterface.cpp.
References CHECK, managers_map_, persistent_storage_interfaces_mutex_, and table_persistent_storage_interface_map_.
Referenced by File_Namespace::GlobalFileMgr::getFileMgr(), PersistentStorageMgr::isChunkPrefixCacheable(), and registerTable().
|
static |
prepare table options and modify columns
Definition at line 183 of file ForeignStorageInterface.cpp.
References parseStorageType(), persistent_storage_interfaces_, persistent_storage_interfaces_mutex_, TableDescriptor::storageType, and run_benchmark_import::type.
Referenced by Catalog_Namespace::Catalog::createTable().
|
static |
Definition at line 168 of file ForeignStorageInterface.cpp.
References CHECK, persistent_storage_interfaces_, and persistent_storage_interfaces_mutex_.
Referenced by registerArrowCsvForeignStorage(), and registerArrowForeignStorage().
|
static |
ids are created
Definition at line 198 of file ForeignStorageInterface.cpp.
References Catalog_Namespace::DBMetadata::dbId, Catalog_Namespace::Catalog::getCurrentDB(), lookupBufferManager(), parseStorageType(), persistent_storage_interfaces_, persistent_storage_interfaces_mutex_, TableDescriptor::storageType, table_persistent_storage_interface_map_, TableDescriptor::tableId, and run_benchmark_import::type.
Referenced by Catalog_Namespace::Catalog::createTable().
|
staticprivate |
Definition at line 244 of file ForeignStorageInterface.h.
Referenced by destroy(), and lookupBufferManager().
|
staticprivate |
Definition at line 240 of file ForeignStorageInterface.h.
Referenced by destroy(), prepareTable(), registerPersistentStorageInterface(), and registerTable().
|
staticprivate |
Definition at line 245 of file ForeignStorageInterface.h.
Referenced by lookupBufferManager(), prepareTable(), registerPersistentStorageInterface(), and registerTable().
|
staticprivate |
Definition at line 242 of file ForeignStorageInterface.h.
Referenced by lookupBufferManager(), and registerTable().