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

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

One more argument to throw in there: :)

{code}
  CqlResult execute_cql_query(1:required binary query, 2:required Compression 
compression)
    throws (1:InvalidRequestException ire,
            2:UnavailableException ue,
            3:TimedOutException te,
            4:SchemaDisagreementException sde)

  /**
   * Executes a CQL3 (Cassandra Query Language) statement and returns a
   * CqlResult containing the results.
   */
  CqlResult execute_cql3_query(1:required binary query, 2:required Compression 
compression, 3:required ConsistencyLevel consistency)
    throws (1:InvalidRequestException ire,
            2:UnavailableException ue,
            3:TimedOutException te,
            4:SchemaDisagreementException sde)
{code}

Imagine this method had simply been defined as:
{code}
CqlResult execute_cql_query(1:required CqlParams)
{code}

It might have been easier to evolve.

> 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