5 Replies Latest reply on Jul 24, 2013 7:54 AM by fd45989d-55eb-42a0-86a4-98aefee9516e

    Clarification of "Ordered traversal" of key/value pairs




      Based on the javadoc:



      direction - specifies the order in which records are returned by the iterator. Only Direction.FORWARD and Direction.REVERSE are supported by this method.



      an iterator that permits an ordered traversal of the descendant key/value pairs.


      Would it be possible please to provide an example of what you mean by "ordered traversal"? Based on what criteria is the order performed? Is it alphabetically, based on the order the records where inserted or something else? Also, in the example that you will provide, can you also clarify how the Direction parameter alters the result set?


      Thank you very much,