Column in the Cassandra Database

Source: Internet
Author: User
Tags cassandra

Column in Cassandra is a ternary group {Name,value,timestamp}

Name

Name is required and has two ways of generating it:

For the static column family, its value is specified by the administrator who created the column family.

For dynamic column family, its value is dynamically set by the client application.

A secondary index can be built on name (secondary index)

Value

Value is not required, such as column familiy, which is equivalent to materialized views.

Timestamp

Used to determine the most recent update to column

In the Cassandra-cli command-line tool, use the list <column family name > command to display all row and column, such as our KeyStore is demo, column family is users, When you enter the list users, you can see:

...

More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/database/extra/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.