src/storage/source/PartitionedFile.cc
PartitionedFile::PartitionedFile(NodeID nodeId,
                                 DatabaseID dbId,
                                 UserTypeID typeId,
                                 SetID setId,
                                 string metaPartitionPath,
                                 pdb::PDBLoggerPtr logger) {

    this->nodeId = nodeId;
    this->dbId = dbId;
    this->typeId = typeId;
    this->setId = setId;
    this->metaPartitionPath = metaPartitionPath;
    this->logger = logger;
    this->cleared = false;


    // Initialize the mutex;
    pthread_mutex_init(&this->fileMutex, nullptr);
}
/**
 * Create a simple PartitionedFile instance, and later will add information
 * to the instance by parsing existing meta data or initialize the instance with nullptrs.
 */
Create a simple PartitionedFile instance, and later will add information
to the instance by parsing existing meta data or initialize the instance with nullptrs.
Create a simple PartitionedFile instance and later will add information to the instance by parsing existing meta data or initialize the instance with nullptrs .
PartitionedFile::PartitionedFile(NodeID nodeId,
                                 DatabaseID dbId,
                                 UserTypeID typeId,
                                 SetID setId,
                                 string metaPartitionPath,
                                 pdb::PDBLoggerPtr logger) {
    this->nodeId = nodeId;
    this->dbId = dbId;
    this->typeId = typeId;
    this->setId = setId;
    this->metaPartitionPath = metaPartitionPath;
    this->logger = logger;
    this->cleared = false;
    pthread_mutex_init(&this->fileMutex, nullptr);
}
PartitionedFile :: PartitionedFile ( NodeID nodeId , DatabaseID dbId , UserTypeID typeId , SetID setId , string metaPartitionPath , pdb :: PDBLoggerPtr logger ) { this -> nodeId = nodeId ; this -> dbId = dbId ; this -> typeId = typeId ; this -> setId = setId ; this -> metaPartitionPath = metaPartitionPath ; this -> logger = logger ; this -> cleared = false ; pthread_mutex_init ( & this -> fileMutex , nullptr ) ; }
Create a simple PartitionedFile instance, and later will add information
 to the instance by parsing existing meta data or initialize the instance with nullptrs.
Create a simple PartitionedFile instance and later will add information to the instance by parsing existing meta data or initialize the instance with nullptrs .
// Initialize the mutex;