2 Replies Latest reply on May 20, 2014 4:58 PM by user12033180

    How to retrieve all the keys of a particular database?




      I need to get all the primary keys of database and assign to java list. I found that the PrimaryIndex.keys() provides all the keys and returns an EntityCursor<K>. So, using this method I need to traverse through the entire cursor to collect all the key values. Is there any better/efficient method available to get all the keys which I can assign to a java list?


      Any help is highly appreciated.