22 #include <rapidjson/document.h>
24 namespace foreign_storage {
43 size_t first_row_offset,
63 void set_value(rapidjson::Value& json_val,
65 rapidjson::Document::AllocatorType& allocator);
FileRegion(std::string path, size_t first_row_offset, size_t first_row_idx, size_t row_cnt, size_t region_sz)
bool operator<(const FileRegion &other) const
size_t first_row_file_offset
void get_value(const rapidjson::Value &json_val, FileRegion &file_region)
std::vector< FileRegion > FileRegions
void set_value(rapidjson::Value &json_val, const FileRegion &file_region, rapidjson::Document::AllocatorType &allocator)