NoSQL: Cassandra Query Language (CQL) Data Types

Data Type Constants Description
Ascii Strings US-Ascii character string
Bigint Integers 64-bit signed long
Blob Blobs Arbitrary bytes in hexadecimal
Boolean Booleans True or false
Counter Integers Distributed counter values 64 bit
Decimal Integers, floats Variable precision decimal
Double Integers, floats 64-bit floating point
Float Integers, floats 32-bit floating point
Frozen Tuples, collections, user defined types Stores cassandra types
Inet Strings IP address in IPV4 or IPV6 format
Int Integers 32 bit signed integer
List Collection of elements
Map Json style collection of elements
Set Collection of elements
Text Strings UTF-8 encoded strings
Timestamp Integers, strings Id generated with date plus time
Timeuuid Uuids Type 1 uuid
Tuple A group of 2,3 fields
Uuid Uuids Standard uuid
Varchar Strings UTF-8 encoded string
Varint Integers Arbitrary precision integer
Anvesh Patel

Leave a Reply

Be the First to Comment!

Notify of