[Leveldb] Introduction to an interface file in source code analysis

Source: Internet
Author: User
. Include... leveldb... db. hdb. h defines basic operation interfaces, including Put, Write, and Delete. Put, Write and Other interfaces are implemented using pure virtual functions, but they are implemented by default ..... Cache. hlebeldb cache interface, implemented using LUR algorithm, provides interfaces for adding, deleting, and searching... comparator. h Pressure

./Include.../leveldb.../db. h db. h defines basic operation interfaces, including Put, Write, and Delete. Put, Write and Other interfaces are implemented using pure virtual functions, but they are implemented by default. .../Cache. h lebeldb cache interface, implemented using LUR algorithm, provides interfaces for adding, deleting, and searching.../comparator. h Pressure

./Include
../Leveldb
.../../Db. h
Db. h defines basic operation interfaces, including Put, Write, and Delete. Put, Write and Other interfaces are implemented using pure virtual functions, but they are implemented by default.
.../../Cache. h
The lebeldb cache interface is implemented using the LUR algorithm and provides interfaces for adding, deleting, and searching.
.../Comparator. h
Compression Algorithm Interface
.../../Env. h
Environment Settings, some file operations
.../../Filter_policy.h
Some filtering methods define a series of interfaces for implementation
.../Iterator. h
A series of iterator operations, including First, end, seek, etc.
.../Options. h
Define a series of database operations, read/write, etc.
.../../Slice. h
Data Element
.../Status. h
Returned status, OK, IOERROR
.../../Table_builder.h
Controllers used to store tables
.../Table. h
Implement various write operations, including deleting identifiers

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.