On 23/02/2010 10:08 PM, Bob Schellink wrote:

Haven't thought this through but we could have the following interface:

public DataProvider {

public List getData(int start, int count);


Scratch that. Returning a list won't work, since the implementation would have to create a large enough List to fit the range between start and count. Ideally I'd like the DataProvider to solve pagination as well especially for JDBC and Lucene record sets.

bob

Reply via email to