What is display dimension in multidimensional display?

Like many of these days, I am an old user of the relational model, first approaching Cassandra. I try to understand the Cassandra data model, and when I read about it, I often come across statements that encourage me to think of it as 4-and 5-dimensional maps.

Now I am familiar with the usual key / value card, but I never thought about how many dimensions she has, and this does not give me any reason to plunge into an attempt to visualize 4 and 5 dimensions.

Is there a milder introduction to dimension in maps? How many dimensions are there in a regular hash table? One? Two? Zero?

If a regular hash table has, say, only one dimension, then what will be the two-dimensional display? If two, then what will be the 3-dimensional mapping?

+5
source share
2 answers
Map<String, String>                           -- One dimension
Map<String, Map<String, String>>              -- Two dimensions
Map<String, Map<String, Map<String,String>>>  -- Three dimensions

etc...

+9
source

Encouraging you to think about it, since 4 or 5 dimensional maps are one of the best signs that the author of what you are reading does not know what he is talking about.

Read the Max Grinev posts at the top of http://wiki.apache.org/cassandra/ArticlesAndPresentations .

+2
source

All Articles