cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7396) Allow selecting Map key, List index
Date Sat, 13 Sep 2014 09:31:34 GMT

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

Robert Stupp commented on CASSANDRA-7396:
-----------------------------------------

I'm currently testing whether a kind of "CellFilter" works for this. Such a "CellFilter" could
be used in {{SelectStatement#addValue}} to pre-select only those elements, that shall be part
of the result set. This would reduce the serialization overhead - and it can also be used
to optimize for list slice requests. Altogether this would be the "general purpose" optimization
for slice requests.

Additionally there could be more optimizations in terms of column-slicing, which IMO could
work for sets and maps but not for lists.

> Allow selecting Map key, List index
> -----------------------------------
>
>                 Key: CASSANDRA-7396
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7396
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: API
>            Reporter: Jonathan Ellis
>              Labels: cql
>             Fix For: 3.0
>
>
> Allow "SELECT map['key]" and "SELECT list[index]."  (Selecting a UDT subfield is already
supported.)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message