src/storage/source/PartitionedFile.cc
int PartitionedFile::seekPageDirect(int handle, unsigned int pageSeqInPartition) {
    if (handle < 0) {
        return -1;
    }
    return lseek(handle, (pageSeqInPartition) * (this->metaData->getPageSize()), SEEK_SET);
}
/**
 * Seek to the beginning of the page data of the page specified in the file.
 */
Seek to the beginning of the page data of the page specified in the file.
Seek to the beginning of the page data of the page specified in the file .
int PartitionedFile::seekPageDirect(int handle, unsigned int pageSeqInPartition) {
    if (handle < 0) {
        return -1;
    }
    return lseek(handle, (pageSeqInPartition) * (this->metaData->getPageSize()), SEEK_SET);
}
int PartitionedFile :: seekPageDirect ( int handle , unsigned int pageSeqInPartition ) { if ( handle < 0 ) { return -1 ; } return lseek ( handle , ( pageSeqInPartition ) * ( this -> metaData -> getPageSize ( ) ) , SEEK_SET ) ; }
Seek to the beginning of the page data of the page specified in the file.
Seek to the beginning of the page data of the page specified in the file .