You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2009/05/22 07:10:45 UTC

[jira] Commented: (CASSANDRA-194) Indexed reads for the rest of the API

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

Jun Rao commented on CASSANDRA-194:
-----------------------------------

Actually, most of the existing APIs on Standard CF already used Column index. The only exceptions are get_slice and get_column_count. For get_slice, we can actually convert it to a get_slice_from call with an empty starting column. This avoids a full scan of all columns.

Also, there doesn't seem to be an index at sub-column level, so all sub-columns have to be scanned for APIs like get_column on a super CF. I am not sure if it's worthwhile to have three levels of indexes (i.e, key, column, sub-column) though. 


> Indexed reads for the rest of the API
> -------------------------------------
>
>                 Key: CASSANDRA-194
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-194
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>             Fix For: 0.4
>
>
> Jun Rao started this in CASSANDRA-172; we need to do this for the rest of the API so we can have millions of columns instead of merely thousands.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.