cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandeep Tata (JIRA)" <>
Subject [jira] Updated: (CASSANDRA-53) Add new call to API: get_slice_by_name_range
Date Fri, 15 May 2009 00:48:45 GMT


Sandeep Tata updated CASSANDRA-53:

    Attachment: CASSANDRA-53-src-tests-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

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:
>             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,
> 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.

View raw message