Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PendingUpdate support #36

Open
GoogleCodeExporter opened this issue Jul 27, 2015 · 2 comments
Open

Add PendingUpdate support #36

GoogleCodeExporter opened this issue Jul 27, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

This enhancement is to provide support for the "transactional" semantics in the 
XQuery Update Facility.

We need a PendingUpdate<N> interface.  It has a <N>ode, an operation, and a 
list of arguments.

We need an UpdatableModel<N> interface.  It has methods the same as, or similar 
to, MutableModel, but MutableModel is immediate effect, and UpdatableModel 
produces the Iterable<PendingUpdate<N>> instead.  UpdatableModel adds 
mergeUpdates and applyUpdates.

We might want UpdatableCursor.  This may complicate things (because there could 
then be update lists in two places, and a question of synchronization).

We need to modify MutableContext to return UpdatableModel.  We should do so in 
such a way that a specific bridge can support MutableModel only, UpdatableModel 
only, or both, or neither.

We need this in order to fully support XQuery Update Facility, which provides 
this "transactional" semantic.

Original issue reported on code.google.com by [email protected] on 3 Dec 2010 at 8:50

@GoogleCodeExporter
Copy link
Author

Lower priority. Interesting for adaptation to databases and such; less 
important for a solid runtime API over tree models.

Original comment by [email protected] on 11 May 2011 at 3:48

  • Added labels: Priority-Low
  • Removed labels: Priority-Medium

@GoogleCodeExporter
Copy link
Author

Definitely a worry-later.

Original comment by [email protected] on 26 Jul 2012 at 7:50

  • Added labels: Milestone-Future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants