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

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

I am sure someone is going to notice. That there is only one parameter to the 
method.

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

I did it this way because thrift does not allow having two methods with the 
same name. I feel that evolution wise it is easier to provide a single object 
with all optional parameters then to deal with the issues of methods adding 
/removing parameters and breaking compatibility, though I do not see this 
method changing much. Anyway this decision is debatable. 

> 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 ColumnSlice(s). Users should have access to this capability 
> already found in Cassandra.



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

Reply via email to