Why you interate the results?
2010/2/21 Ftaylor finbarrtay...@googlemail.com
Is this the fastest way to load all of the Elements of a given type
from the DataStore?
@SuppressWarnings(unchecked)
public static final ListPage loadAllPagesFromDataStore() {
ListPage
You can set the chunk size to 100 or use one of the non iterator query
methods. By default only 20 results are loaded at a time so for 100
results the iterator does 5 queries.
On 22 Feb 2010, at 02:23, Ftaylor wrote:
Is this the fastest way to load all of the Elements of a given type
from
Is this the fastest way to load all of the Elements of a given type
from the DataStore?
@SuppressWarnings(unchecked)
public static final ListPage loadAllPagesFromDataStore() {
ListPage pages = new ArrayListPage();
PersistenceManager pm =