Wednesday 25 July 2018

NoSQL: Cassandra Collection Data Types – List, Set, Map

In this post, I am sharing a demonstration of Cassandra Collection data types.
Basically, CQL provides three different types of collection data types, SET, LIST, MAP.
Using collection data types, you can store multiple values in a single column.
You can store multiple values in a single column, but try to keep your collection small otherwise it creates performance overhead.
Collection data types:
Create a sample table with collectio data type
(SET, LIST, MAP):
Insert a sample record:
Update data on Collection type:
Filter on Collection type:

0 comments:

Post a Comment