- We now look at our next category of NoSQL database.
- A tuple store is a key-value store in which the value is always a vector of data.
- For example,
marc -> ("Marc", "McLast Name", 25, "Germmany")
- There is no requirement that each tuple stored in a tuple store have the same length.
- Various implementations of tuple stores do permit organizing entries into semantic groups often called collections or tables.
- For example,
Person:marc -> ("Marc", "McLast Name", 25, "Germany")
Person:harry -> ("Harry", "Smith", 29, "Belgium")
- A document store is a key-value store where the value is supposed to be somme kind of semi-structured data such as XML, JSON, JSONB (BSON) - binary JSON, YAML.
- For example,
{
Title = "Harry Potter"
ISBN = "111-1111111111"
Authors = [ "J.K. Rowling" ]
Price = 32
Dimensions = "8.5 x 11.0 x 0.5"
PageCount = 234
Genre = "Fantasy"
}