[ 
https://issues.apache.org/cayenne/browse/CAY-1075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Øyvind Harboe updated CAY-1075:
-------------------------------

    Attachment: LinearList.java

I'm thinking that it is better to leave paged queries as-is and introduce a new 
class such as the attached one.

These lists can be optimized for some application specific access pattern.

Instead of:

context.performQuery(query);

the user would use:

new LinearList(ctxt, query);

Thoughts?


> Paged queries should not require memory proportional to query list length
> -------------------------------------------------------------------------
>
>                 Key: CAY-1075
>                 URL: https://issues.apache.org/cayenne/browse/CAY-1075
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Cayenne Core Library
>    Affects Versions: 3.0
>            Reporter: Øyvind Harboe
>            Assignee: Andrus Adamchik
>         Attachments: IncrementalFaultList.java, LinearList.java
>
>
> I'm working on a version of paged queries that uses WeakHashMap for the 
> pages. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to