Cassandra map element access

From the documentation, it looks 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 map element is internally stored as a single Cassandra column that you can modify, replace, delete, and query.

The examples show updating individual elements, but this syntax does not seem to work for select statements. Is there a way to select only one key value for a map column?

+3


source to share


1 answer


You cannot get a part of the collection: even if internally every map record is stored as a column, you can get the whole collection



+4


source







All Articles