Open turbomanage opened 10 years ago
From https://code.google.com/p/storm-gen/issues/detail?id=43
Proivde support for Iterator in DAO.
Right now, client code has to do dao.listAll(); to show the table records to show in a list.
This reads all table records in stores in memory. For large tables, this is not practical.
There should be a way to get Iterator where T is POJO, and read the data as they are accessed.
See perhaps https://github.com/venmo/cursor-utils
From https://code.google.com/p/storm-gen/issues/detail?id=43
Proivde support for Iterator in DAO.
Right now, client code has to do dao.listAll(); to show the table records to show in a list.
This reads all table records in stores in memory. For large tables, this is not practical.
There should be a way to get Iterator where T is POJO,
and read the data as they are accessed.