Learning Apache Cassandra(Second Edition)
上QQ阅读APP看书,第一时间看更新

Other data types

Cassandra provides other data types used for convenience purposes such as the following:

  • Counter: A coun64-bit a 64-bit integer used as a distributed counter value
  • Date: Date is a string formatted as yyyy-mm-dd such as 2016-11-02
  • Inet: Inet is an IP address string in IPv4 or IPv6 format
  • Time: Time is a string formatted as HH:MM:SS.XXXXXXXXX, which lets time values be stored with nanosecond precision