The four categories of NoSQL databases