|
@@ -91,11 +91,27 @@ LSUP_graph_copy_contents_txn (
|
|
const LSUP_Term *s, const LSUP_Term *p, const LSUP_Term *o);
|
|
const LSUP_Term *s, const LSUP_Term *p, const LSUP_Term *o);
|
|
|
|
|
|
|
|
|
|
-/// Non-transactional version of #LSUP_graph_copy_contents_txn.
|
|
|
|
|
|
+/// Non-transactional version of #LSUP_graph_copy_contents_txn().
|
|
#define LSUP_graph_copy_contents(...) \
|
|
#define LSUP_graph_copy_contents(...) \
|
|
LSUP_graph_copy_contents_txn (NULL, __VA_ARGS__)
|
|
LSUP_graph_copy_contents_txn (NULL, __VA_ARGS__)
|
|
|
|
|
|
|
|
|
|
|
|
+/* @brief Copy all triples from a graph.
|
|
|
|
+ *
|
|
|
|
+ * This is a shortcut for #LSUP_graph_copy_contents_txn(). If you need to
|
|
|
|
+ * specify a transaction handle and/or a filter for the copy, use that.
|
|
|
|
+ *
|
|
|
|
+ * @param src[in] Source graph.
|
|
|
|
+ *
|
|
|
|
+ * @param dest[in] Destination graph.
|
|
|
|
+ *
|
|
|
|
+ * @return LSUP_OK on success; LSUP_NOACTION if no triples were copied; <0
|
|
|
|
+ * if an error occurred.
|
|
|
|
+ */
|
|
|
|
+#define LSUP_graph_copy(src, dest) \
|
|
|
|
+ LSUP_graph_copy_contents_txn (NULL, src, dest, NULL, NULL, NULL)
|
|
|
|
+
|
|
|
|
+
|
|
/** Perform a boolean operation between two graphs.
|
|
/** Perform a boolean operation between two graphs.
|
|
*
|
|
*
|
|
* This method populates an initialized graph with the result of the operation
|
|
* This method populates an initialized graph with the result of the operation
|