node-hbase-client [](<a href="https://github.com/alibaba/node-hbase-client#support-hbase-server-">https://github.com/alibaba/node-hbase-client#support-hbase-server-</a><a href="https://g

程序名称:node-hbase-client [](<a href="https://github.com/alibaba/node-hbase-client#support-hbase-server-">https://github.com/alibaba/node-hbase-client#support-hbase-server-</a><a href="https://g

授权协议: MIT

操作系统: 跨平台

开发语言: JavaScript

node-hbase-client [](<a href="https://github.com/alibaba/node-hbase-client#support-hbase-server-">https://github.com/alibaba/node-hbase-client#support-hbase-server-</a><a href="https://g 介绍

node-hbase-client 是 Node.js 的异步
HBase 客户端,使用纯 JavaScript 实现。

[](https://github.com/alibaba/node-hbase-client#support-hbase-server-

versions)支持 HBase 服务器的版本

  • [√] 0.94.x

    • [√] 0.94.0

    • [√] 0.94.16

  • 0.95.x

  • 0.96.x

安装

$ npm install hbase-client

使用

CRUD:

  • 通过 zookeeper 创建 HBase 客户端:

    var HBase = require(‘hbase-client’);var client = HBase.create({
      zookeeperHosts: [
        ‘127.0.0.1:2181’ // only local zookeeper
      ],
      zookeeperRoot: ’/hbase-0.94.16’,});

  • 输入

    client.putRow(‘soMetableName’, ‘rowkey1’, {‘f1:name’: ‘foo name’, ‘f1:age’: ‘18’}, function (err) {
      console.log(err);});

  • 获取

    client.getRow(‘soMetableName’, ‘rowkey1’, [‘f1:name’, ‘f1:age’], function (err, row) {
      console.log(row);});

  • 删除

    client.deleteRow(‘soMetableName’, ‘rowkey1’, function (err) {
      console.log(err);});

node-hbase-client [](<a href="https://github.com/alibaba/node-hbase-client#support-hbase-server-">https://github.com/alibaba/node-hbase-client#support-hbase-server-</a><a href="https://g 官网

https://github.com/alibaba/node-hbase-client

相关编程语言

SchemaCrawler提供一组用于增强标准JDBC Metadata的...
ER Master 是一个用于设计ER模型图的Eclipse插件。提...
Eclipse下用于画数据库ER图的插件,主要特性如下: ...
PowerDesigner 是Sybase的企业建模和设计解决方案,...
Mogwai ERDesigner NG是一个实体关系建模工具类似于...
Power*Architect 是一个数据建模工具,主要用在数据...