cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Yaskevich (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1615) cli index scan support
Date Tue, 19 Oct 2010 20:07:28 GMT

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

Pavel Yaskevich commented on CASSANDRA-1615:
--------------------------------------------

I have few questions according to this task:

1). What is start_key in IndexClause and how should I set it here? (i read http://wiki.apache.org/cassandra/API
and did not get it...)
2). I need to pass SlicePredicate into get_indexed_slices call, so the question is how to
determine which columns should I include in it? should I include only columns from conditions?


I see that in executeList() was used the following technique for SlicePredicate:

{code}
        // read all columns and superColumns
        SlicePredicate predicate = new SlicePredicate();
        SliceRange sliceRange = new SliceRange();
        sliceRange.setStart(new byte[0]).setFinish(new byte[0]);
        predicate.setSlice_range(sliceRange);
{code}

Just want to make sure I understand everything correctly here... Thanks!





> cli index scan support
> ----------------------
>
>                 Key: CASSANDRA-1615
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1615
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Tools
>    Affects Versions: 0.7 beta 1
>            Reporter: Jonathan Ellis
>            Assignee: Pavel Yaskevich
>             Fix For: 0.7.0
>
>
> cli needs to support get_indexed_slices.
> one syntax might be
> {code}
> GET cf WHERE column1=value1 AND column2>value2
> {code}
> (OR is not supported by get_indexed_slices, only AND)

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


Mime
View raw message