OmniSciDB
a5dc49c757
|
#include <InternalStorageStatsDataWrapper.h>
Public Member Functions | |
InternalStorageStatsDataWrapper () | |
InternalStorageStatsDataWrapper (const int db_id, const ForeignTable *foreign_table) | |
Public Member Functions inherited from foreign_storage::InternalSystemDataWrapper | |
InternalSystemDataWrapper () | |
InternalSystemDataWrapper (const int db_id, const ForeignTable *foreign_table) | |
void | populateChunkMetadata (ChunkMetadataVector &chunk_metadata_vector) override |
void | populateChunkBuffers (const ChunkToBufferMap &required_buffers, const ChunkToBufferMap &optional_buffers, AbstractBuffer *delete_buffer) override |
void | validateServerOptions (const ForeignServer *foreign_server) const override |
void | validateTableOptions (const ForeignTable *foreign_table) const override |
const std::set < std::string_view > & | getSupportedTableOptions () const override |
void | validateUserMappingOptions (const UserMapping *user_mapping, const ForeignServer *foreign_server) const override |
const std::set < std::string_view > & | getSupportedUserMappingOptions () const override |
std::string | getSerializedDataWrapper () const override |
void | restoreDataWrapperInternals (const std::string &file_path, const ChunkMetadataVector &chunk_metadata) override |
bool | isRestored () const override |
Public Member Functions inherited from foreign_storage::ForeignDataWrapper | |
ForeignDataWrapper ()=default | |
virtual | ~ForeignDataWrapper ()=default |
virtual const std::set < std::string > | getAlterableTableOptions () const |
virtual void | validateSchema (const std::list< ColumnDescriptor > &columns) const |
virtual ParallelismLevel | getCachedParallelismLevel () const |
virtual ParallelismLevel | getNonCachedParallelismLevel () const |
virtual bool | isLazyFragmentFetchingEnabled () const |
Private Member Functions | |
void | initializeObjectsForTable (const std::string &table_name) override |
void | populateChunkBuffersForTable (const std::string &table_name, std::map< std::string, import_export::TypedImportBuffer * > &import_buffers) override |
Private Attributes | |
std::vector< StorageDetails > | storage_details_ |
Additional Inherited Members | |
Public Types inherited from foreign_storage::ForeignDataWrapper | |
enum | ParallelismLevel { NONE, INTRA_FRAGMENT, INTER_FRAGMENT } |
Protected Attributes inherited from foreign_storage::InternalSystemDataWrapper | |
const int | db_id_ |
const ForeignTable * | foreign_table_ |
size_t | row_count_ {0} |
Definition at line 45 of file InternalStorageStatsDataWrapper.h.
foreign_storage::InternalStorageStatsDataWrapper::InternalStorageStatsDataWrapper | ( | ) |
Definition at line 25 of file InternalStorageStatsDataWrapper.cpp.
foreign_storage::InternalStorageStatsDataWrapper::InternalStorageStatsDataWrapper | ( | const int | db_id, |
const ForeignTable * | foreign_table | ||
) |
Definition at line 28 of file InternalStorageStatsDataWrapper.cpp.
|
overrideprivatevirtual |
Implements foreign_storage::InternalSystemDataWrapper.
Definition at line 124 of file InternalStorageStatsDataWrapper.cpp.
References CHECK, CHECK_EQ, Catalog_Namespace::SysCatalog::getDataMgr(), Data_Namespace::DataMgr::getGlobalFileMgr(), Catalog_Namespace::SysCatalog::instance(), shared::kInfoSchemaDbName, foreign_storage::InternalSystemDataWrapper::row_count_, storage_details_, and Catalog_Namespace::STORAGE_DETAILS_SYS_TABLE_NAME.
|
overrideprivatevirtual |
Implements foreign_storage::InternalSystemDataWrapper.
Definition at line 165 of file InternalStorageStatsDataWrapper.cpp.
References CHECK_EQ, foreign_storage::anonymous_namespace{InternalStorageStatsDataWrapper.cpp}::populate_import_buffers_for_storage_details(), storage_details_, and Catalog_Namespace::STORAGE_DETAILS_SYS_TABLE_NAME.
|
private |
Definition at line 58 of file InternalStorageStatsDataWrapper.h.
Referenced by initializeObjectsForTable(), and populateChunkBuffersForTable().