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

Jun Rao commented on CASSANDRA-71:
----------------------------------

5. Sorry, I missed that. It seems fine.

4. If FS exposes an iterator interface, advance() should be private. Otherwise, 
a user has 2 choices to advance, which is confusing. 

6. Yes, Iterator doesn't throw exceptions. That's why I am not sure that I like 
the standard iterator interface. It's probably better to implement a customized 
iterator interface, which in some sense is what FS.advance() does. What if you 
make FileStructIterator a subclass of FS and override advance()? You will 
likely need to implement a customized priority queue too. 

> Range query support
> -------------------
>
>                 Key: CASSANDRA-71
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-71
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>             Fix For: 0.3
>
>         Attachments: 71.patch
>
>
> Scan for keys by range (between X and Y) or prefix (starting with P).

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