作者: 韩晨旭@ArcueidType(Arcueid) 10225101440 李畅@wesley 10225102463 设计文档为PLAN.md,md版本报告为README.md,pdf版本报告为Report.pdf
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 

30 rindas
557 B

#ifndef VTABLE_READER_H
#define VTABLE_READER_H
#include <memory>
#include "leveldb/env.h"
#include "leveldb/options.h"
#include "leveldb/slice.h"
#include "leveldb/status.h"
#include "util/coding.h"
#include "vtable_format.h"
namespace leveldb {
class VTableReader {
public:
Status Open(const Options& options, std::string fname);
Status Get(const VTableHandle& handle,
VTableRecord* record) const ;
private:
Options options_;
RandomAccessFile* file_{nullptr};
};
} // namespace leveldb
#endif //VTABLE_READER_H