Prefetch data corresponding to a give range of keys Typically this functionality is required for table implementations that persists the data on a non volatile storage medium like disk/SSD
| 101 | // Typically this functionality is required for table implementations that |
| 102 | // persists the data on a non volatile storage medium like disk/SSD |
| 103 | virtual Status Prefetch(const Slice* begin = nullptr, |
| 104 | const Slice* end = nullptr) { |
| 105 | (void)begin; |
| 106 | (void)end; |
| 107 | // Default implementation is NOOP. |
| 108 | // The child class should implement functionality when applicable |
| 109 | return Status::OK(); |
| 110 | } |
| 111 | |
| 112 | // convert db file to a human readable form |
| 113 | virtual Status DumpTable(WritableFile* /*out_file*/, |