|
@@ -116,7 +116,7 @@ LSUP_graph_copy (const LSUP_Graph *src);
|
|
* @param[in] src Graph to store.
|
|
* @param[in] src Graph to store.
|
|
*
|
|
*
|
|
* @param[out] dest Pointer to graph handle for the new stored graph. The new
|
|
* @param[out] dest Pointer to graph handle for the new stored graph. The new
|
|
- * graph will have the same URI as the source.
|
|
|
|
|
|
+ * graph will have the same URI as the source. It may be NULL.
|
|
*
|
|
*
|
|
* @param[in] env Environment to copy to. If NULL, it is set to the deafult
|
|
* @param[in] env Environment to copy to. If NULL, it is set to the deafult
|
|
* LSUP store. This makes it possible to copy MDB graphs across different
|
|
* LSUP store. This makes it possible to copy MDB graphs across different
|
|
@@ -293,6 +293,20 @@ LSUP_graph_remove (
|
|
const LSUP_Term *o, size_t *ct);
|
|
const LSUP_Term *o, size_t *ct);
|
|
|
|
|
|
|
|
|
|
|
|
+/** @brief Remove a whole graph from a context-aware store.
|
|
|
|
+ *
|
|
|
|
+ * @param[in] uri Graph (context) to remove.
|
|
|
|
+ *
|
|
|
|
+ * @return LSUP_OK if the graph was removed; LSUP_NOACTION if no graph was
|
|
|
|
+ * found with the given URI; LSUP_VALU_ERR if the graph back end is a non-
|
|
|
|
+ * permanent or non-context aware store.
|
|
|
|
+ */
|
|
|
|
+/*
|
|
|
|
+LSUP_rc
|
|
|
|
+LSUP_graph_remove_ctx (LSUP_Graph *gr);
|
|
|
|
+*/
|
|
|
|
+
|
|
|
|
+
|
|
/** Look up triples by a matching pattern and yield an iterator.
|
|
/** Look up triples by a matching pattern and yield an iterator.
|
|
*
|
|
*
|
|
* @param gr[in] Graph to look up.
|
|
* @param gr[in] Graph to look up.
|