Column Store
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
ColumnStore::MetadataManager Class Reference

#include <ProjectionData.h>

Collaboration diagram for ColumnStore::MetadataManager:
Collaboration graph

Public Member Functions

void save ()
 
 operator json & ()
 
 operator Parser::SchemaMetaData & ()
 
json & getFileMetadata ()
 
Parser::SchemaMetaDatagetSchemaMetadata ()
 
json & getProjectionFileInfo (std::string projection)
 
Parser::ProjectiongetProjectionSchemaInfo (std::string projection)
 

Static Public Member Functions

static std::shared_ptr< MetadataManagergetInstance (std::string column_store_path)
 

Private Member Functions

 MetadataManager (fs::path file)
 

Private Attributes

fs::path file
 
json metadata
 
Parser::SchemaMetaData schemaMetadata
 

Static Private Attributes

static std::mutex lock
 
static std::map< fs::path, std::shared_ptr< MetadataManager > > metaMap
 

Constructor & Destructor Documentation

◆ MetadataManager()

ColumnStore::MetadataManager::MetadataManager ( fs::path  file)
inlineprivate
Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ getFileMetadata()

json& ColumnStore::MetadataManager::getFileMetadata ( )
inline

◆ getInstance()

static std::shared_ptr<MetadataManager> ColumnStore::MetadataManager::getInstance ( std::string  column_store_path)
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getProjectionFileInfo()

json& ColumnStore::MetadataManager::getProjectionFileInfo ( std::string  projection)
inline

◆ getProjectionSchemaInfo()

Parser::Projection& ColumnStore::MetadataManager::getProjectionSchemaInfo ( std::string  projection)
inline
Here is the call graph for this function:

◆ getSchemaMetadata()

Parser::SchemaMetaData& ColumnStore::MetadataManager::getSchemaMetadata ( )
inline

◆ operator json &()

ColumnStore::MetadataManager::operator json & ( )
inline

◆ operator Parser::SchemaMetaData &()

ColumnStore::MetadataManager::operator Parser::SchemaMetaData & ( )
inline

◆ save()

void ColumnStore::MetadataManager::save ( )
inline

Member Data Documentation

◆ file

fs::path ColumnStore::MetadataManager::file
private

◆ lock

std::mutex ColumnStore::MetadataManager::lock
staticprivate

◆ metadata

json ColumnStore::MetadataManager::metadata
private

◆ metaMap

std::map< fs::path, std::shared_ptr< MetadataManager > > ColumnStore::MetadataManager::metaMap
staticprivate

◆ schemaMetadata

Parser::SchemaMetaData ColumnStore::MetadataManager::schemaMetadata
private

The documentation for this class was generated from the following file: