Become a super modeler
Become a super modeler
Part 1: The data model is dead, long live the data model!
set_example set<text>
• Ordered by insertion
list_example list<text>
10
11
map_example map<int,text>
Collection name Collection type Key CQL Type Value CQL Type
12
13
14
15
Goals:
1. Create row key for speed
2. Use wide rows for efficiency
16
17
18
SELECT count
FROM product_index
WHERE store = 8675309
Fast and efficient!
AND part_number0_3 = 7079
AND part_number4_9 = 48575;
19
20
21
22
23
24
25
Sony, eBay, Netflix, Intuit, Spotify... the list goes on. Don’t miss it.
26
https://github.com/datastax/java-driver
27
Q&A