Home | History | Annotate | Download | only in leveldb

Lines Matching defs:Table

21 // A Table is a sorted map from strings to strings.  Tables are
22 // immutable and persistent. A Table may be safely accessed from
24 class Table {
26 // Attempt to open the table that is stored in bytes [0..file_size)
28 // retrieving data from the table.
30 // If successful, returns ok and sets "*table" to the newly opened
31 // table. The client should delete "*table" when no longer needed.
32 // If there was an error while initializing the table, sets "*table"
35 // for the duration of the returned table's lifetime.
37 // *file must remain live while this Table is in use.
41 Table** table);
43 ~Table();
45 // Returns a new iterator over the table contents.
54 // E.g., the approximate offset of the last key in the table will
62 explicit Table(Rep* rep) { rep_ = rep; }
79 Table(const Table&);
80 void operator=(const Table&);