[ 
https://issues.apache.org/jira/browse/CASSANDRA-212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736968#action_12736968
 ] 

Jonathan Ellis commented on CASSANDRA-212:
------------------------------------------

Looks good to me overall.

RangeResult looks an awful lot like RangeReply w/ less methods.  Could we just 
use RangeReply and cut out the middleman?  I dunno.  Java feels so clunky here.

One way to return multiple values would be like this

        return new HashMap<String, Object>() {{
            put("keys", listOfStrings);
            put("finished", true);
        }};

Who says constructor blocks aren't useful? :)

Can we the bool in RangeReply it something besides isInRange?  In the range 
does not imply "contains the entire range" to me.  Rather the opposite 
relationship.  If you don't like "finished" maybe isComplete, rangeComplete, 
rangeCompletedLocally, ...

> Range queries do not yet span multiple nodes
> --------------------------------------------
>
>                 Key: CASSANDRA-212
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-212
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Arin Sarkissian
>             Fix For: 0.4
>
>         Attachments: 0001-Cassandra-212.patch
>
>
> Need ability to continue a query on the next node in the ring, if necessary

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