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

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

Advanced Data Types

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