Uploaded image for project: 'Spring Data Geode'
  1. Spring Data Geode
  2. DATAGEODE-263

Add support for PagingAndSortingRepositories

    XMLWordPrintable

    Details

      Description

      This JIRA will track the development of SD Geode's support of the SD Common's PagingAndSortingRepository.

      Currently, Apache Geode does not implement nor support the notion of a database cursor in the querying infrastructure, which allows for such things as [pre-]fetch size, handling concurrent updates and scroll sensitivity.

      However, a good interim solution may be to collect a "list" of keys for the values satisfying the query predicate and lazily fetch the values based on the ordered, paged in results.

      Apache Geode could handle concurrent updates by the user flipping the copy-on-read switch, but scroll sensitivity would not be handled unless the keys were cached. Still, the "cached" keys would be invalidated the moment the user changed the sort order since the "list" is retaining the order the user initially specified, and without the values, there is no way to change the order. Therefore, subsequent queries with the original predicate could result in a significantly different result set thus changing the number and order of the results.

        Attachments

          Activity

            People

            Assignee:
            jblum John Blum
            Reporter:
            jblum John Blum
            Last updater:
            John Blum
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: