#include "leveldb/table_builder.h"
#include <cassert>
#include "leveldb/comparator.h"
#include "leveldb/env.h"
#include "leveldb/filter_policy.h"
#include "leveldb/options.h"
#include "table/block_builder.h"
#include "table/filter_block.h"
#include "table/format.h"
#include "util/coding.h"
#include "util/crc32c.h"
namespace leveldb {
struct TableBuilder::Rep { … };
TableBuilder::TableBuilder(const Options& options, WritableFile* file)
: … { … }
TableBuilder::~TableBuilder() { … }
Status TableBuilder::ChangeOptions(const Options& options) { … }
void TableBuilder::Add(const Slice& key, const Slice& value) { … }
void TableBuilder::Flush() { … }
void TableBuilder::WriteBlock(BlockBuilder* block, BlockHandle* handle) { … }
void TableBuilder::WriteRawBlock(const Slice& block_contents,
CompressionType type, BlockHandle* handle) { … }
Status TableBuilder::status() const { … }
Status TableBuilder::Finish() { … }
void TableBuilder::Abandon() { … }
uint64_t TableBuilder::NumEntries() const { … }
uint64_t TableBuilder::FileSize() const { … }
}