New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

phoenix-client

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

phoenix-client

a nodejs project for connecting apache phoenix (a hbase SQL interface)

latest
Source
npmnpm
Version
0.0.7
Version published
Weekly downloads
9
-18.18%
Maintainers
1
Weekly downloads
 
Created
Source

phoenix-client

a nodejs project for connecting apache phoenix (a hbase SQL interface) #install

npm install phoenix-client

#dependency:

npm install java

#attention

According to your hbase version ,please change the /java/phoenix-4.0.0-incubating-client.jar

HBase 0.94 requires Apache Phoenix version 3.0

HBase 0.98.x requires Apache Phoenix version 4.0

.etc

#usage:

phoenix = require("phoenix-client");

//first param 'url' is required;

var db = new phoenix("jdbc:phoenix:nn1,192.168.0.121","username","passwd",["-Xmx1024m"]);

db.query("select * from t1 limit 1",function success(dataJson){ console.info(dataJson); },function error(e){ });

db.upsert("upsert into t1(name) values('gaozhu')",function success(){ console.info("upsert successfully"); },function error(e){ });

db.upsertMuti(["sql1","sql2"],function success(){ console.info("upsert successfully"); },function error(e){ });;

Keywords

phoenix

FAQs

Package last updated on 09 Sep 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts