|
ZephyrDB
Embedded database for Zephyr RTOS: KV, time-series, and document models
|
Cursor for cooperative scans (currently opened via zdb_ts_cursor_open()). More...
#include <zephyrdb.h>
Public Attributes | |
| zdb_model_t | model |
| zdb_backend_t | backend |
| uint32_t | flags |
| uint32_t | iter_count |
| uint64_t | position |
| zdb_bytes_t | current |
| zdb_predicate_fn | predicate |
| void * | predicate_ctx |
| void * | impl |
Cursor for cooperative scans (currently opened via zdb_ts_cursor_open()).
Treat the members as internal; drive the cursor with zdb_cursor_next(), zdb_cursor_reset(), and zdb_cursor_close().
| zdb_backend_t zdb_cursor::backend |
Backend the scan reads from.
| zdb_bytes_t zdb_cursor::current |
Most recently yielded record.
| uint32_t zdb_cursor::flags |
Internal flags.
| void* zdb_cursor::impl |
Backend-specific state (internal).
| uint32_t zdb_cursor::iter_count |
Records yielded so far.
| zdb_model_t zdb_cursor::model |
Data model being scanned.
| uint64_t zdb_cursor::position |
Internal scan position.
| zdb_predicate_fn zdb_cursor::predicate |
Optional filter; NULL yields everything.
| void* zdb_cursor::predicate_ctx |
Opaque pointer passed to predicate.