storm-gen
storm-gen copied to clipboard
Provide support for Iterator<T>
From https://code.google.com/p/storm-gen/issues/detail?id=43
Proivde support for Iterator<T> 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<T> where T is POJO, and read the data as they are accessed.
See perhaps https://github.com/venmo/cursor-utils