- Learning Apache Cassandra(Second Edition)
- Sandeep Yarabarla
- 203字
- 2021-07-03 00:19:23
Discretely writable collections
While it's useful for records to be internally structured into discrete fields, a given property of a record isn't always a single value such as a string or an integer. One simple way to handle fields that contain collections of values is to serialize them using a format such as JSON and then save the serialized collection into a text field. However, in order to update collections stored in this way, the serialized data must be read from the database, decoded, modified, and then written back to the database in its entirety. If two clients try to perform this kind of modification to the same record concurrently, one of the updates will be overwritten by the other. For this reason, many databases offer built-in collection structures that can be discretely updated: values can be added to and removed from collections without reading and rewriting the entire collection. Cassandra is no exception, offering list, set, and map collections, and supporting operations such as append the number 3 to the end of this list. Neither the client nor Cassandra itself needs to read the current state of the collection in order to update it, meaning collection updates are also blazingly efficient.
- Hands-On Intelligent Agents with OpenAI Gym
- 數據展現的藝術
- 輕松學C語言
- Visual Basic從初學到精通
- 21天學通Java
- Hybrid Cloud for Architects
- Hands-On Dashboard Development with QlikView
- Building Google Cloud Platform Solutions
- Linux Shell Scripting Cookbook(Third Edition)
- 穿越計算機的迷霧
- 樂高創意機器人教程(中級 上冊 10~16歲) (青少年iCAN+創新創意實踐指導叢書)
- Flink內核原理與實現
- SQL Server 2019 Administrator's Guide
- 實戰大數據(Hadoop+Spark+Flink):從平臺構建到交互式數據分析(離線/實時)
- Containerization with Ansible 2