Hbase 模式是否已读取?

Is Hbase schema on read?

我是 hbase 新手。我知道 HBase 是 key/value 存储,它将数据存储在字节数组中。几个查询

  1. Hbase 是否支持列的数据类型?
  2. Hbase 模式是读取(如配置单元)还是写入?

对于第一个问题,我看到了几个链接并感到困惑。


https://www-01.ibm.com/support/knowledgecenter/SSPT3X_4.0.0/com.ibm.swg.im.infosphere.biginsights.analyze.doc/doc/bsql_encoding.html

Java(HBase) API: How to know the data type of a value stored in bytes

  1. HBase 本身不支持列的数据类型,所有内容都被视为字节数组。这是 supported data types. But you could use high level frameworks like phoenix and here are its supported data types.

  2. 上 hbase 书中的摘录
  3. 由于 HBase 是无模式的,我会说 HBase 依赖于模式读取机制。