[英]Is Hbase schema on read?
I am new to hbase . 我是hbase的新手。 I know that HBase is key/value store which stores the data in array of bytes. 我知道HBase是键/值存储,它将数据存储在字节数组中。 couple of queries 几个查询
For the first question , I saw couple of links and got confused. 对于第一个问题,我看到了几个链接并感到困惑。
https://www-01.ibm.com/support/knowledgecenter/SSPT3X_4.0.0/com.ibm.swg.im.infosphere.biginsights.analyze.doc/doc/bsql_encoding.html 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 Java(HBase)API:如何知道以字节为单位存储的值的数据类型
Natively HBase does not support data types for columns everything is treated as byte arrays. HBase本身不支持列的数据类型,所有内容都视为字节数组。 Here is an excert from hbase book on supported data types . 这是hbase书中关于支持的数据类型的摘录。 But you could use high level frameworks like phoenix and here are its supported data types . 但是您可以使用诸如phoenix的高级框架,这是其支持的数据类型 。
As HBase is schema-less I would say HBase relies on schema on read mechanism. 由于HBase是无架构的,我会说HBase依赖于读取机制的架构。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.