
Data Structures | |
| struct | VOLK_Dataset |
| RDF Dataset type. More... | |
Macros | |
| #define | VOLK_dataset_new_from_store(...) |
| Non-transactional version of VOLK_dataset_new_from_store_txn(). | |
Functions | |
| VOLK_rc | VOLK_dataset_add (VOLK_Dataset *ds, const VOLK_Graph *gr) |
| Add graphs to the dataset. | |
| bool | VOLK_dataset_contains (VOLK_Dataset *ds, const VOLK_Graph *gr) |
| Check if a graph is in a dataset. | |
| void | VOLK_dataset_free (VOLK_Dataset *ds) |
| Free a dataset handle. | |
| VOLK_Dataset * | VOLK_dataset_new (VOLK_Store *store) |
| Create an empty dataset. | |
| VOLK_Dataset * | VOLK_dataset_new_from_store_txn (void *txn, VOLK_Store *store) |
| Create a dataset populated with a whole store. | |
| VOLK_rc | VOLK_dataset_remove (VOLK_Dataset *ds, const VOLK_Graph *gr) |
| Remove graphs from the dataset. | |
| size_t | VOLK_dataset_size (VOLK_Dataset *ds) |
| Number of triples in a dataset. | |
A dataset is a set of RDF graphs, backed by a context-aware store. All graphs in a dataset belong to the same store.
The dataset is not synchronized with changes in the backing store, so that if a graph contained in a dataset is deleted from the store, its reference remains in the dataset.
| #define VOLK_dataset_new_from_store | ( | ... | ) |
Non-transactional version of VOLK_dataset_new_from_store_txn().
|
inline |
|
inline |
| void VOLK_dataset_free | ( | VOLK_Dataset * | ds | ) |
| VOLK_Dataset * VOLK_dataset_new | ( | VOLK_Store * | store | ) |
| VOLK_Dataset * VOLK_dataset_new_from_store_txn | ( | void * | txn, |
| VOLK_Store * | store ) |
Create a dataset populated with a whole store.
| [in] | txn | Open, read-write transaction handle. If NULL, a new transaction is opened and closed within the function call. |
| [in] | store | Store handle for the graphs in the dataset. The store MUST support the VOLK_STORE_CTX feature. |
|
inline |
| size_t VOLK_dataset_size | ( | VOLK_Dataset * | ds | ) |