Home | History | Annotate | Download | only in table

Lines Matching refs:Options

11 #include "leveldb/options.h"
21 Options options;
22 Options index_block_options;
47 Rep(const Options& opt, WritableFile* f)
48 : options(opt),
52 data_block(&options),
63 TableBuilder::TableBuilder(const Options& options, WritableFile* file)
64 : rep_(new Rep(options, file)) {
76 Status TableBuilder::ChangeOptions(const Options& options) {
77 // Note: if more fields are added to Options, update
80 if (options.comparator != rep_->options.comparator) {
84 // Note that any live BlockBuilders point to rep_->options and therefore
85 // will automatically pick up the updated options.
86 rep_->options = options;
87 rep_->index_block_options = options;
97 assert(r->options.comparator->Compare(key, Slice(r->last_key)) > 0);
102 r->options.comparator->FindShortestSeparator(&r->last_key, key);
118 if (estimated_block_size >= r->options.block_size) {
149 CompressionType type = r->options.compression;
150 // TODO(postrelease): Support more compression options: zlib?
215 BlockBuilder meta_index_block(&r->options);
219 key.append(r->options.filter_policy->Name());
232 r->options.comparator->FindShortSuccessor(&r->last_key);