- Learning Apache Cassandra(Second Edition)
- Sandeep Yarabarla
- 166字
- 2021-07-03 00:19:29
UUIDs
Cassandra has two types that store Universally Unique Identifiers:
- The uuid type stores Version 1 and Version 4 UUIDs
- The timeuuid type stores Version 1 UUIDs and has special functionality for conversion between UUIDs and timestamps
A Universally Unique Identifier (UUID), is essentially a very large number generated in a specific way, designed to guarantee that the same UUID will never be generated anywhere in the world at any time. Version 1 UUIDs are generated using a high-precision timestamp and the generating computer's MAC address; the timestamp can be extracted from the UUID. Version 4 UUIDs use random or pseudo-random numbers.
CQL uses the canonical representation of UUIDs, which is a sequence of hexadecimal digits broken up in specific places by dashes, in the form 8-4-4-4-12. A CQL UUID literal is not surrounded by quotation marks or any other delimiter; for example, 550e8400-e29b-41d4-a716-446655440000 is a valid UUID literal. Most languages have UUID libraries available that will generate UUIDs and output them in the canonical format.
- 基于C語言的程序設(shè)計(jì)
- 樂高機(jī)器人:WeDo編程與搭建指南
- Mastering Proxmox(Third Edition)
- 協(xié)作機(jī)器人技術(shù)及應(yīng)用
- R Machine Learning By Example
- Mobile DevOps
- Effective DevOps with AWS
- Hands-On Linux for Architects
- 數(shù)據(jù)通信與計(jì)算機(jī)網(wǎng)絡(luò)
- 面向?qū)ο蟪绦蛟O(shè)計(jì)綜合實(shí)踐
- 新編計(jì)算機(jī)圖形學(xué)
- HTML5 Canvas Cookbook
- Unity Multiplayer Games
- R Data Analysis Projects
- Visual Studio 2010 (C#) Windows數(shù)據(jù)庫項(xiàng)目開發(fā)