|
@ -195,7 +195,7 @@ internal APIs may be changed without warning. |
|
|
|
|
|
|
|
|
Guide to header files: |
|
|
Guide to header files: |
|
|
|
|
|
|
|
|
* **include/db.h**: Main interface to the DB: Start here |
|
|
|
|
|
|
|
|
* **include/db.h**: Main interface to the DB: Start here. |
|
|
|
|
|
|
|
|
* **include/options.h**: Control over the behavior of an entire database, |
|
|
* **include/options.h**: Control over the behavior of an entire database, |
|
|
and also control over the behavior of individual reads and writes. |
|
|
and also control over the behavior of individual reads and writes. |
|
@ -203,7 +203,7 @@ and also control over the behavior of individual reads and writes. |
|
|
* **include/comparator.h**: Abstraction for user-specified comparison function. |
|
|
* **include/comparator.h**: Abstraction for user-specified comparison function. |
|
|
If you want just bytewise comparison of keys, you can use the default |
|
|
If you want just bytewise comparison of keys, you can use the default |
|
|
comparator, but clients can write their own comparator implementations if they |
|
|
comparator, but clients can write their own comparator implementations if they |
|
|
want custom ordering (e.g. to handle different character encodings, etc.) |
|
|
|
|
|
|
|
|
want custom ordering (e.g. to handle different character encodings, etc.). |
|
|
|
|
|
|
|
|
* **include/iterator.h**: Interface for iterating over data. You can get |
|
|
* **include/iterator.h**: Interface for iterating over data. You can get |
|
|
an iterator from a DB object. |
|
|
an iterator from a DB object. |
|
@ -219,7 +219,7 @@ and is used to report success and various kinds of errors. |
|
|
|
|
|
|
|
|
* **include/env.h**: |
|
|
* **include/env.h**: |
|
|
Abstraction of the OS environment. A posix implementation of this interface is |
|
|
Abstraction of the OS environment. A posix implementation of this interface is |
|
|
in util/env_posix.cc |
|
|
|
|
|
|
|
|
in util/env_posix.cc. |
|
|
|
|
|
|
|
|
* **include/table.h, include/table_builder.h**: Lower-level modules that most |
|
|
* **include/table.h, include/table_builder.h**: Lower-level modules that most |
|
|
clients probably won't use directly |
|
|
|
|
|
|
|
|
clients probably won't use directly. |