cassandra-commits mailing list archives

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


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

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

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

> cli index scan support
> ----------------------
>                 Key: CASSANDRA-1615
>                 URL:
>             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.

View raw message