Lines Matching refs:options
27 Options options; member
38 Status Table::Open(const Options& options, in Open() argument
62 if (options.paranoid_checks) { in Open()
75 rep->options = options; in Open()
79 rep->cache_id = (options.block_cache ? options.block_cache->NewId() : 0); in Open()
92 if (rep_->options.filter_policy == NULL) { in ReadMeta()
99 if (rep_->options.paranoid_checks) { in ReadMeta()
111 key.append(rep_->options.filter_policy->Name()); in ReadMeta()
130 if (rep_->options.paranoid_checks) { in ReadFilter()
140 rep_->filter = new FilterBlockReader(rep_->options.filter_policy, block.data); in ReadFilter()
165 const ReadOptions& options, in BlockReader() argument
168 Cache* block_cache = table->rep_->options.block_cache; in BlockReader()
189 s = ReadBlock(table->rep_->file, options, handle, &contents); in BlockReader()
192 if (contents.cachable && options.fill_cache) { in BlockReader()
199 s = ReadBlock(table->rep_->file, options, handle, &contents); in BlockReader()
208 iter = block->NewIterator(table->rep_->options.comparator); in BlockReader()
220 Iterator* Table::NewIterator(const ReadOptions& options) const { in NewIterator()
222 rep_->index_block->NewIterator(rep_->options.comparator), in NewIterator()
223 &Table::BlockReader, const_cast<Table*>(this), options); in NewIterator()
226 Status Table::InternalGet(const ReadOptions& options, const Slice& k, in InternalGet() argument
230 Iterator* iiter = rep_->index_block->NewIterator(rep_->options.comparator); in InternalGet()
241 Iterator* block_iter = BlockReader(this, options, iiter->value()); in InternalGet()
260 rep_->index_block->NewIterator(rep_->options.comparator); in ApproximateOffsetOf()