- Learning Apache Cassandra(Second Edition)
- Sandeep Yarabarla
- 130字
- 2021-07-03 00:19:29
Integers
Cassandra has five types that store integers:
- The int type stores 32-bit integers, which can store values ranging from approximately -2.1 billion to 2.1 billion
- The bigint type stores 64-bit integers, which can store values from about -9 quintillion to 9 quintillion
- The smallint type stores 16-bit integers, which can store values from -32,768 to 32,767
- The tinyint type stores 8-bit integers, which can store values from -128 to 127
- The varint type stores integers of arbitrary size; it has no minimum or maximum value
All integer types are signed, meaning they can hold positive or negative integers. There are no unsigned numeric types in Cassandra. Integer literals in CQL, like in most languages, consist of an optional minus sign followed by one or more digits, such as 3,549.
推薦閱讀
- Microsoft Dynamics CRM Customization Essentials
- 程序設(shè)計(jì)缺陷分析與實(shí)踐
- Apache Hive Essentials
- Google App Inventor
- 網(wǎng)絡(luò)綜合布線技術(shù)
- 傳感器技術(shù)應(yīng)用
- Splunk Operational Intelligence Cookbook
- Implementing AWS:Design,Build,and Manage your Infrastructure
- 水下無(wú)線傳感器網(wǎng)絡(luò)的通信與決策技術(shù)
- 30天學(xué)通Java Web項(xiàng)目案例開(kāi)發(fā)
- Hands-On DevOps
- Redash v5 Quick Start Guide
- 大型機(jī)系統(tǒng)應(yīng)用基礎(chǔ)
- Hands-On Generative Adversarial Networks with Keras
- 電機(jī)與電力拖動(dòng)