小编Gow*_*ham的帖子

如何在不添加列族的情况下在hbase表中添加列

是否可以在不添加列族的情况下创建hbase 表,例如 创建“emp”、“个人数据”、“专业数据”

个人数据和专业数据是列族,我想在不添加列族的情况下向表中添加字段

例如

        HTable hTable = new HTable(config, "TableName");
        Put p = new Put(Bytes.toBytes("ROW"));
        p.add(Bytes.toBytes("VALUES"); 
        //only the values need to be added to the column without column family. 
Run Code Online (Sandbox Code Playgroud)

hbase column-family

2
推荐指数
1
解决办法
4538
查看次数

标签 统计

column-family ×1

hbase ×1