HomeSort by relevance Sort by last modified time
    Searched refs:MemTable (Results 1 - 10 of 10) sorted by null

  /external/chromium_org/third_party/leveldatabase/src/db/
memtable.h 20 class MemTable {
24 explicit MemTable(const InternalKeyComparator& comparator);
42 // operations on the same MemTable.
45 // Return an iterator that yields the contents of the memtable.
47 // The caller must ensure that the underlying MemTable remains live
53 // Add an entry into memtable that maps key to value at the
60 // If memtable contains a value for key, store it in *value and return true.
61 // If memtable contains a deletion for key, store a NotFound() error
67 ~MemTable(); // Private since only Unref() should be used to delete it
85 MemTable(const MemTable&)
    [all...]
write_batch_internal.h 12 class MemTable;
41 static Status InsertInto(const WriteBatch* batch, MemTable* memtable);
memtable.cc 5 #include "db/memtable.h"
21 MemTable::MemTable(const InternalKeyComparator& cmp)
27 MemTable::~MemTable() {
31 size_t MemTable::ApproximateMemoryUsage() { return arena_.MemoryUsage(); }
33 int MemTable::KeyComparator::operator()(const char* aptr, const char* bptr)
53 explicit MemTableIterator(MemTable::Table* table) : iter_(table) { }
70 MemTable::Table::Iterator iter_;
78 Iterator* MemTable::NewIterator()
    [all...]
db_impl.h 20 class MemTable;
50 // Force current memtable contents to be compacted.
89 // log-file/memtable and writes a new descriptor iff successful.
98 Status WriteLevel0Table(MemTable* mem, VersionEdit* edit, Version* base)
140 MemTable* mem_;
141 MemTable* imm_; // Memtable being compacted
write_batch_test.cc 7 #include "db/memtable.h"
17 MemTable* mem = new MemTable(cmp);
write_batch.cc 20 #include "db/memtable.h"
115 MemTable* mem_;
129 MemTable* memtable) {
132 inserter.mem_ = memtable;
db_impl.cc 19 #include "db/memtable.h"
128 mem_(new MemTable(internal_comparator_)),
404 // Read all the records and add to a memtable
408 MemTable* mem = NULL;
419 mem = new MemTable(internal_comparator_);
457 Status DBImpl::WriteLevel0Table(MemTable* mem, VersionEdit* edit,
507 // Save the contents of the memtable as a new Table
515 s = Status::IOError("Deleting DB during memtable compaction");
518 // Replace immutable memtable with the generated Table
547 TEST_CompactMemTable(); // TODO(sanjay): Skip if memtable does not overla
    [all...]
repair.cc 33 #include "db/memtable.h"
196 // Read all the records and add to a memtable
200 MemTable* mem = new MemTable(icmp_);
version_set.h 32 class MemTable;
106 // Return the level at which we should place a new memtable compaction
304 uint64_t prev_log_number_; // 0 or backing store for memtable being compacted
  /external/chromium_org/third_party/leveldatabase/src/table/
table_test.cc 10 #include "db/memtable.h"
321 memtable_ = new MemTable(internal_comparator_);
329 memtable_ = new MemTable(internal_comparator_);
346 MemTable* memtable_;
764 MemTable* memtable = new MemTable(cmp); local
765 memtable->Ref();
772 ASSERT_TRUE(WriteBatchInternal::InsertInto(&batch, memtable).ok());
774 Iterator* iter = memtable->NewIterator()
    [all...]

Completed in 53 milliseconds