OrientDB automatic pagination returning duplicate result, short pages, and an infinite sequence of pages
问题 I'd like to iterate through a very large set of records in orientdb. So that the result doesn't fill up my machine's memory, I've tried to implement paginated queries, but I seem to be getting back duplicated documents record sets shorter than the page size a infinite series of results The original Java method listed in the docs is as follows: OSQLSynchQuery<ODocument> query = new OSQLSynchQuery<ODocument>("select from Customer LIMIT 20"); for (List<ODocument> resultset = database.query(query