These are the key components of an HBase data model:
- Table: In HBase, data is stored in a logical object, called table, that has multiple rows.
- Row: A row in HBase consists of a row key and one or more columns. The row key sorts rows. The goal is to store data in such a way that related rows are near each other. The row key can be a combination of one of more columns. The row key is like the primary key of the table, which must be unique. HBase uses row keys to find data in a column. For example, customer_id can be a row key for the customer table.
- Column: A column in HBase consists of a column family and a column qualifier.
- Column qualifier: It is the column name of a table.
- Cell: This is a combination of row, column family, ...