The column family in the Cassandra corresponds to a table in the relational database that is used to store rows and fields.
Column number in column family is not fixed
In a relational database, each row contains the same number of fields. However, in Cassandra, although column family can define the metadata for column (metadata), the actual number of fields per line is determined by the client program, so it is not necessary to have all the same number of fields.
Classification of column Family
Static column family (static column family)
For static column family, field names are fixed and are more appropriate for predefined metadata for these columns, as shown in the following illustration:
Animated column family (Dynamic column family)
For dynamic column family, the field names are computed and provided by the application, so column family can only define the types of those fields, but you cannot specify the names and values of these fields, which are derived from the application's insertion into a field, as shown in the following illustration:
Row key
More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/database/extra/