Database Reference
In-Depth Information
part of the compound PRIMARY KEY is the column's name. If there are more than
two parts to the PRIMARY KEY , the column name becomes a column of Com-
positeType and each of the parts after the partition key is a part of the composite.
CQL 3 uses this information to generate the rows with proper column names.
Data Types
CQL 3 supports many data types, including all data types available to Cassandra.
Table 4.1 shows the supported data types and their associated meanings.
Table 4.1 CQL 3 Data Types
Dates
When using the Date type in Cassandra, you can specify the timestamp as either
an integer representation of milliseconds since the UNIX epoch, or one of several
variations on the ISO 8601 date format. Here are a few examples of proper dates,
all showing the date June 13, 2013:
Search WWH ::




Custom Search