Volksdata 1.0b7
RDF library
Loading...
Searching...
No Matches
MDBIterator Struct Reference

Triple iterator. More...

Collaboration diagram for MDBIterator:

Data Fields

MDBStorestore
 MDB store handle.
IterFlags flags
 Iterator flags.
MDB_txn * txn
 MDB transaction.
MDB_cursor * cur
 MDB cursor.
MDB_cursor * ctx_cur
 MDB c:spo index cursor.
MDB_val key
 Internal data handler.
MDB_val data
 Internal data handler.
VOLK_TripleKey spok
 Triple to be populated with match.
VOLK_Keyck
iter_op_fn_t iter_op_fn
 Function used to look up next match.
const uint8_t * term_order
 Term order used in 1-2bound look-ups.
VOLK_Key luk [3]
 0÷3 lookup keys.
VOLK_Key luc
 Ctx key to filter by. May be NULL_KEY.
size_t i
 Internal counter for paged lookups.
size_t ct
int rc
 MDB_* return code for the next result.

Detailed Description

Triple iterator.

Definition at line 74 of file store_mdb.c.

Field Documentation

◆ store

MDBStore* MDBIterator::store

MDB store handle.

Definition at line 75 of file store_mdb.c.

◆ flags

IterFlags MDBIterator::flags

Iterator flags.

Definition at line 76 of file store_mdb.c.

◆ txn

MDB_txn* MDBIterator::txn

MDB transaction.

Definition at line 77 of file store_mdb.c.

◆ cur

MDB_cursor* MDBIterator::cur

MDB cursor.

Definition at line 78 of file store_mdb.c.

◆ ctx_cur

MDB_cursor* MDBIterator::ctx_cur

MDB c:spo index cursor.

Definition at line 79 of file store_mdb.c.

◆ key

MDB_val MDBIterator::key

Internal data handler.

Definition at line 80 of file store_mdb.c.

◆ data

MDB_val MDBIterator::data

Internal data handler.

Definition at line 81 of file store_mdb.c.

◆ spok

VOLK_TripleKey MDBIterator::spok

Triple to be populated with match.

Definition at line 82 of file store_mdb.c.

◆ ck

VOLK_Key* MDBIterator::ck

Context array.

This shall be populated for each matching triple if requested.

Definition at line 83 of file store_mdb.c.

◆ iter_op_fn

iter_op_fn_t MDBIterator::iter_op_fn

Function used to look up next match.

Definition at line 87 of file store_mdb.c.

◆ term_order

const uint8_t* MDBIterator::term_order

Term order used in 1-2bound look-ups.

Definition at line 88 of file store_mdb.c.

◆ luk

VOLK_Key MDBIterator::luk[3]

0÷3 lookup keys.

Definition at line 89 of file store_mdb.c.

◆ luc

VOLK_Key MDBIterator::luc

Ctx key to filter by. May be NULL_KEY.

Definition at line 90 of file store_mdb.c.

◆ i

size_t MDBIterator::i

Internal counter for paged lookups.

Definition at line 91 of file store_mdb.c.

◆ ct

size_t MDBIterator::ct

Current count of records inserted or results found.

Definition at line 92 of file store_mdb.c.

◆ rc

int MDBIterator::rc

MDB_* return code for the next result.

Definition at line 94 of file store_mdb.c.


The documentation for this struct was generated from the following file: