Hbase 学习笔记一 》Data Coordinates

Hbase的数据存储基于一个4D坐标系统,包括rowkey、列族、列限定符和版本号。这种逻辑数据模型可以看作是一个键值存储,其中坐标作为键,单元数据作为值。API设计允许在请求数据时不必提供完整坐标,通过省略版本号或其他坐标细节,可以一次性获取更多数据,使得Hbase在操作中表现为一个值为映射的键值存储。
摘要由CSDN通过智能技术生成

Data coordinates

In the logical data model, the version number is also part of the coordinates of a

piece of data. You can think of a relational database as storing a piece of data in a

table in a 2D coordinate system based first on row and second on column. By that

analogy, HBase stores a piece of data in a table based on a 4D coordinate system.

The coordinates used by HBase, in order, are rowkey, column family, column qualifier,

and version. Figure 2.4 illustrates these coordinates in our users table.

Considering the full set of coordinates as a unit, you can think of HBase as a keyvalue

store. With this abstraction of the logical data model in mind, you can consider

the coordinates as a key and the cell data as the value (see figure 2.5).

The HBase API is built such that you aren’t required to provide the entire coordinate</

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值