click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Schellink <>
Subject Re: DataProvider interface
Date Tue, 23 Feb 2010 11:18:04 GMT

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
enough List to fit the range between start and count. Ideally I'd like the DataProvider to
pagination as well especially for JDBC and Lucene record sets.


View raw message