摘要: Java 向 HBase 插入数据实战 一、Put 的底层含义 (RowKey, ColumnFamily:Qualifier, Timestamp) -> Value Put ≠ 插入一行,而是插入 Cell 二、插入数据前的准备 Table table = HBaseConnectionUtil 阅读全文
posted @ 2025-10-21 15:55 元始天尊123 阅读(5) 评论(0) 推荐(0)
摘要: Java 查询 HBase 数据深度解析 一、Get:精准查询 HBase 的优势:按 RowKey 查 单行查询示例 Get get = new Get("001".getBytes()); Result result = table.get(get); 取具体列 byte[] value = r 阅读全文
posted @ 2025-10-21 15:55 元始天尊123 阅读(5) 评论(0) 推荐(0)
摘要: Java 更新与删除 HBase 数据 一、HBase 没有 Update Put 同一个 RowKey + 列 = 新版本覆盖 Put put = new Put("001".getBytes()); put.addColumn("info".getBytes(), "age".getBytes( 阅读全文
posted @ 2025-10-21 15:55 元始天尊123 阅读(8) 评论(0) 推荐(0)