Data types are used to constrain values that are inserted into a field.
In a relational database, the data type is specified when the table is defined.
In Cassandra, the field type is given by the validator (validator) and the comparer (comparator), which validator the type used to constrain the value of the field, and comparator the type used to constrain the field name.
Note: Data types in relational databases and Cassandra have different definitions of time. In a relational database, the data type must be specified at the time the table structure is defined, but Cassandra is not necessary because it is always stored as a bytestype type, and you can specify what type to treat the store according to the client request.
Basic data types in Cassandra:
More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/database/extra/