Re: Multi-value properties and order

2014-03-25 Thread Alex Parvulescu
Hi, > While chatting with a colleague he raised a doubt abut if the order is > kept or it could change over the time. guilty as charged :) Sorry about the confusion, I was thinking about the fact that the child nodes don't have a guaranteed order, and applied the same line of thinking for the pr

Re: Multi-value properties and order

2014-03-25 Thread Jukka Zitting
Hi, On Tue, Mar 25, 2014 at 10:00 AM, Alex Parvulescu wrote: > Out of curiosity, do we have any tests that verify this behavior? The TCK has a pretty complete set of property tests that also check for multivalued properties. See for example the SetPropertyValueTest.testSet*Array* methods. BR,

Re: Multi-value properties and order

2014-03-25 Thread Jukka Zitting
Hi, On Tue, Mar 25, 2014 at 9:43 AM, Davide Giannella wrote: > While chatting with a colleague he raised a doubt abut if the order is > kept or it could change over the time. So if I have { ":next" : [ "a", > "b", "c" ] } is it guaranteed that it will always be "abc" and not "cba" > or something

Multi-value properties and order

2014-03-25 Thread Davide Giannella
Good morning everyone, I'm looking into OAK-1570[0] and willing to implement the "fast lanes" of a SkipList[1] by converting the :next[3] property into a multivalue, where each position represent the associated lane. (0) https://issues.apache.org/jira/browse/OAK-1570 (1) http://en.wikipedia.o