...

/

Native Data Types

Native Data Types

Explore the different classifications of data types provided by Apache Cassandra, with a particular focus on the Native data types category.

In Cassandra’s data modeling process, the physical data model Chebotko diagram incorporates column data types for each table. The diagram is included below for reference. This lesson focuses on Cassandra’s data types.

Press + to interact
Physical data model Chebotko diagram with column data types
Physical data model Chebotko diagram with column data types

Apache Cassandra data types 

Apache Cassandra is not a schema-less database. It requires the data type for each column to be specified in the table definition. This helps validate and restrain the data coming in. The data type dictates how the data is stored on disk, impacting the speed at which it is read and also helps sort data in the correct order.

Press + to interact
Categories of Apache Cassandra data types
Categories of Apache Cassandra data types

In this lesson, we will look at the native CQL data types.

Custom types are for backward compatibility only, are rarely used, and will not be covered in this course. ... ...