Reputation: 6495
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?
Upvotes: 3
Views: 1071
Reputation: 20051
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
Upvotes: 4