You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benedict (JIRA)" <ji...@apache.org> on 2015/09/15 11:09:45 UTC

[jira] [Created] (CASSANDRA-10337) Make SSTableReader and Partition access paths uniform

Benedict created CASSANDRA-10337:
------------------------------------

             Summary: Make SSTableReader and Partition access paths uniform
                 Key: CASSANDRA-10337
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10337
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
            Reporter: Benedict
            Assignee: Benedict
            Priority: Minor
             Fix For: 3.x


CASSANDRA-9986 attempts to do this in a quick manner to help simplify the codebase a little, but it's still a long way from being optimal. We can follow up with some changes to make it cleaner still: 

We can modify {{Partition}} a little so that {{SSTableReader}} could return a lightweight instance (or a common base class) with the set of accessors necessary for answering queries. Filters can then operate on this object uniformly. We can _perhaps_ simultaneously unify the access methods within {{Partition}} by removing {{getRow}} and {{unfilteredIterator(Slices)}}, and introduce an {{UnfilteredRowSearchIterator}} that permits indexed access to the underlying data.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)