Home | History | Annotate | Download | only in io

Lines Matching defs:Table

25 namespace table {
32 // A Table is a sorted map from strings to strings. Tables are
33 // immutable and persistent. A Table may be safely accessed from
35 class Table {
37 // Attempt to open the table that is stored in bytes [0..file_size)
39 // retrieving data from the table.
41 // If successful, returns ok and sets "*table" to the newly opened
42 // table. The client should delete "*table" when no longer needed.
43 // If there was an error while initializing the table, sets "*table"
46 // for the duration of the returned table's lifetime.
48 uint64 file_size, Table** table);
50 ~Table();
52 // Returns a new iterator over the table contents.
61 // E.g., the approximate offset of the last key in the table will
69 explicit Table(Rep* rep) { rep_ = rep; }
80 Table(const Table&);
81 void operator=(const Table&);
84 } // namespace table