Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-1600

Merge get_indexed_slices with get_range_slices

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.1.0
    • Legacy/CQL
    • None

    Description

      From a comment on 1157:

      IndexClause only has a start key for get_indexed_slices, but it would seem that the reasoning behind using 'KeyRange' for get_range_slices applies there as well, since if you know the range you care about in the primary index, you don't want to continue scanning until you exhaust 'count' (or the cluster).

      Since it would appear that get_indexed_slices would benefit from a KeyRange, why not smash get_(range|indexed)_slices together, and make IndexClause an optional field on KeyRange?

      Attachments

        Issue Links

          Activity

            People

              slebresne Sylvain Lebresne
              stuhood Stu Hood
              Sylvain Lebresne
              Jonathan Ellis
              Votes:
              15 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: