hamsterdb API Documentation
ham_record_filter_t Struct Reference
#include <hamsterdb_int.h>
Detailed Description
A handle for record-level filteringRecord-level filters can modify and resize the record data before the record is inserted, and before it is returned to the user.
Record-level filters can be used for example for writing compression filters. See ham_enable_compression() to create a filter for zlib-based compression.
Each of the three callback functions can be NULL.
Before this structure is used, it has to be initialized with zeroes.
Definition at line 200 of file hamsterdb_int.h.
Field Documentation
The user data
Definition at line 203 of file hamsterdb_int.h.
The function which is called before the record is inserted
Definition at line 206 of file hamsterdb_int.h.
The function which is called after the record is read from disk
Definition at line 209 of file hamsterdb_int.h.
The function which is when the Database is closed
Definition at line 212 of file hamsterdb_int.h.
For internal use
Definition at line 215 of file hamsterdb_int.h.
For internal use
Definition at line 218 of file hamsterdb_int.h.
Definition at line 218 of file hamsterdb_int.h.
The documentation for this struct was generated from the following file:
- include/ham/hamsterdb_int.h