[jira] Updated: (CAY-1075) Paged queries should not require memory proportional to query list length

From: JIRA (Øyvind)
Date: Mon Jun 23 2008 - 08:39:52 EDT

  • Next message: Andrus Adamchik (JIRA): "[jira] Commented: (CAY-1075) Paged queries should not require memory proportional to query list length"

         [ 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.
    



    This archive was generated by hypermail 2.0.0 : Mon Jun 23 2008 - 08:40:15 EDT