[ 
https://issues.apache.org/jira/browse/CASSANDRA-53?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sandeep Tata updated CASSANDRA-53:
----------------------------------

    Attachment: CASSANDRA-53-src-tests-V2.patch
                CASSANDRA-53-interface-V2.patch

Rebased to trunk with small changes:

1. Changed the name of the function to get_slice_by_name_range (like the ticket 
originally said).

2. There's a count parameter you can pass in to bound the number of columns to 
return.

3. Added more tests in testGetRowSliceByRange to exercise this count parameter.



> Add new call to API: get_slice_by_name_range
> --------------------------------------------
>
>                 Key: CASSANDRA-53
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-53
>             Project: Cassandra
>          Issue Type: New Feature
>    Affects Versions: trunk
>         Environment: all
>            Reporter: Sandeep Tata
>            Assignee: Sandeep Tata
>             Fix For: trunk
>
>         Attachments: CASSANDRA-53-interface-V2.patch, 
> CASSANDRA-53-interface.patch, CASSANDRA-53-src-tests-V2.patch, 
> CASSANDRA-53-src-tests.patch
>
>
> A new get call that lets you get all the columns between colStart and colEnd 
> like:
> get_slice_by_name_range(string tablename,string key,string 
> columnFamily_column, String columnNameStart = "" , String columnNameEnd)
> This would be particularly useful if you were encoding some information in 
> the column names, and couldn't leverage just offset and count to get at the 
> correct set of columns (eg all columns starting with "b").
> It might be fine to support this call only on name sorted column families and 
> throw an UnsupportedException for other columnfamilies.

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