cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-6975) Allow usage of QueryOptions in CQLStatement.executeInternal
Date Fri, 16 May 2014 14:33:11 GMT


Aleksey Yeschenko commented on CASSANDRA-6975:

bq. Just to be clear, I'm too fussed about the fact that the paging call is not used, it's
just convenient to have it here for when we'll need it and I'm sure we will at some point.

Oh, we will - in at least two places in 2.1.x and in BM in 3.0.

> Allow usage of QueryOptions in CQLStatement.executeInternal
> -----------------------------------------------------------
>                 Key: CASSANDRA-6975
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Mikhail Stepura
>            Assignee: Mikhail Stepura
>            Priority: Minor
>             Fix For: 2.1 rc1
>         Attachments: cassandra-2.1-executeInternal.patch
> The current implementations of {{CQLStatement.executeInternal}} accept only {{QueryState}}
as a parameter. That means it's impossible to use prepared statements with variables for internal
calls (you can only pass the variables via {{QueryOptions}}). We also can't use the internal
paging in internal "SELECT" statements for the very same reason.
> I'm attaching the patch which implements that.
> [~slebresne] [~iamaleksey] what do you think guys?

This message was sent by Atlassian JIRA

View raw message