Difficulty: Intermediate
Estimated Time: 20 minutes

In this scenario, you will learn about:

  • Universally unique identifier (UUID) data types
  • Collection data types
  • Tuple data type
  • User-defined types (UDTs)
  • Counter data type

This scenario is also available on our datastax.com/dev site, where you can find many more resources to help you succeed with Apache Cassandra™.

In this scenario, you learned about:

  • Universally unique identifier (UUID) data types
  • Collection data types
  • Tuple data type
  • User-defined types (UDTs)
  • Counter data type

Using Advanced Data Types in Apache Cassandra™

Step 1 of 11

CQL data types

You may have already used many CQL data types in your table definitions. Most of them, including TEXT, VARCHAR, ASCII, TINYINT, SMALLINT, INT, BIGINT, VARINT, FLOAT, DOUBLE, DECIMAL, TIME, TIMESTAMP, DATE, DURATION, BOOLEAN, BLOB, and INET, are easy to understand and use. There are also several "more advanced" CQL data types that we cover in this presentation:

  • Universally unique identifier (UUID) data types: UUID and TIMEUUID
  • Collection data types: SET, LIST and MAP
  • Tuple data type: TUPLE
  • User-defined types (UDTs): CREATE TYPE, ALTER TYPE, DROP TYPE and DESCRIBE TYPE
  • Counter data type: COUNTER