Javadoc
Sets pageSize
property.
By setting a page size, the Collection returned by performing a query
will return hollow DataObjects. This is considerably faster and
uses a tiny fraction of the memory compared to a non-paged query when
large numbers of objects are returned in the result. When a hollow
DataObject is accessed all DataObjects on the same page will be faulted
into memory. There will be a small delay when faulting objects while the
data is fetched from the data source, but otherwise you do not need to do
anything special to access data in hollow objects. The first page is
always faulted into memory immediately.