Hbase Filter过滤器查询详解 (4)

                            String family = new String(kv.getFamily());

                            System.out.println(family);

                            String qualifier = new String(kv.getQualifier());

                            System.out.println(qualifier);

                            System.out.println(new String(kv.getValue()));

                     }

                     */

            //直接从result中取到某个特定的value

                     byte[] value = r.getValue(Bytes.toBytes("base_info"), Bytes.toBytes("name"));

                     System.out.println(new String(value));

              }

              table.close();

       }

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/zgyzjp.html