You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Edward Capriolo (JIRA)" <ji...@apache.org> on 2014/02/23 20:40:19 UTC

[jira] [Commented] (CASSANDRA-6757) SliceQueryFilter can accept multiple ColumnSlice but not exposed to thrift

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

Edward Capriolo commented on CASSANDRA-6757:
--------------------------------------------

The additions to the thrift api are 
{code}
struct ColumnSlice {
    1: required binary start,
    2: required binary finish
}

struct MultiRangeSliceRequest {
    1: optional binary key,
    2: optional ColumnParent column_parent,
    3: optional list<ColumnSlice> column_slices,
    4: optional bool reversed=false,
    5: optional i32 count=1000,
    6: optional ConsistencyLevel consistency_level=ConsistencyLevel.ONE
}

list<ColumnOrSuperColumn> get_multi_range_slice(1:required MultiRangeSliceRequest request)
                            throws (1:InvalidRequestException ire, 2:UnavailableException ue, 3:TimedOutException te),
{code}

> SliceQueryFilter can accept multiple ColumnSlice but not exposed to thrift
> --------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6757
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6757
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Edward Capriolo
>            Assignee: Edward Capriolo
>         Attachments: Cassandra-6757.1.diff
>
>
> Thrift has getSlice() which takes a key and a predicate. SliceQueryFilter can accept multiple SliceRanges users should have access to this capability already found in Cassandra.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)