3

From the documentation, it seems like we should be able to query individual map elements:

http://www.datastax.com/documentation/cql/3.1/cql/cql_using/use_map_t.html

Each element of the map is internally stored as one Cassandra column that you can modify, replace, delete, and query.

The examples show updating individual elements, but similar syntax doesn't seem to work for select statements. Is there a way to select only one key-value for a map column?

ashic
  • 6,367
  • 5
  • 33
  • 54

1 Answers1

4

You can not retrieve part of a collection: even if internally each entry of a map is stored as a column you can only retrieve the whole collection

Carlo Bertuccini
  • 19,615
  • 3
  • 28
  • 39