-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow opening a RW transaction inside a RO one.
- Loading branch information
Showing
6 changed files
with
159 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Uses for a graph: | ||
|
||
1. Create a graph from RDF input, manipulate or evaluate it, and output it as | ||
serialized RDF (always detached) [NO USE CASE] | ||
2. Create a graph from RDF input, optionally manipulate it with other data from | ||
the store or external RDF and store it (start detached, then convert keys; | ||
or, start attached) | ||
3. Retrieve a graph from the store, optionally manipulate it, and output it as | ||
serialized RDF (start attached, then detach) | ||
4. Retrieve a graph from the store, manipulate it, and put the changed graph | ||
back in the store (always attached) | ||
|
||
Initially we might try to render the graph read-only when detached; this | ||
avoids implementing more complex operations such as add, remove and booleans. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
txn_open write txn_rw Open? | ||
n - - y | ||
y n - n | ||
y y y n | ||
y y n y | ||
|
||
txn_open Open Reset? | ||
n y n | ||
y y y | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters