NoSQL: Cassandra Query Language (CQL) Data Types

Data TypeConstantsDescription
AsciiStringsUS-Ascii character string
BigintIntegers64-bit signed long
BlobBlobsArbitrary bytes in hexadecimal
BooleanBooleansTrue or false
CounterIntegersDistributed counter values 64 bit
DecimalIntegers, floatsVariable precision decimal
DoubleIntegers, floats64-bit floating point
FloatIntegers, floats32-bit floating point
FrozenTuples, collections, user defined typesStores cassandra types
InetStringsIP address in IPV4 or IPV6 format
IntIntegers32 bit signed integer
ListCollection of elements
MapJson style collection of elements
SetCollection of elements
TextStringsUTF-8 encoded strings
TimestampIntegers, stringsId generated with date plus time
TimeuuidUuidsType 1 uuid
TupleA group of 2,3 fields
UuidUuidsStandard uuid
VarcharStringsUTF-8 encoded string
VarintIntegersArbitrary precision integer

Please share your ideas and opinions about this topic with me, your contribution will add true value to this topic.
If anyone has doubts on this topic then please do let me know by leaving comments or send me an email.

If you like this post, then please share it with others.
Please follow, I will share my experience towards the success of Database Research and Development Activity.

I put up a post every day, please keep reading and learning.
Discover Yourself, Happy Blogging !
Anvesh M. Patel.

More from

Leave a Reply

Be the First to Comment!

Notify of