Native Data Type: Counter

Learn in detail the native data type: Counter.

As stated earlier, Apache Cassandra is not a schema-less database. It requires the data type for each column to be specified at 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. The following diagram illustrates the various categories of data types offered by Apache Cassandra.

Get hands-on with 1300+ tech skills courses.