node-hive:Node Hive客户端库

时间:2021-05-18 14:00:28
【文件属性】:
文件名称:node-hive:Node Hive客户端库
文件大小:60KB
文件格式:ZIP
更新时间:2021-05-18 14:00:28
JavaScript Hadoop Hive的节点绑定 安装 npm install node-hive 用法 hive = require('node-hive').for({ server:"hive.myserver" }); hive.fetch("SELECT * FROM my_table", function(err, data) { data.each(function(record) { console.log(record); }); }); Hive实例当前支持以下功能 hive.fetch(query, callback); hive.fetchInBatch(batchSize, query, callback); hive.execute(query, [callback]); 查询回调接收两个参数... error ,如果有error ,则为true re
【文件预览】:
node-hive-master
----node-hive.js(3KB)
----package.json(486B)
----node_modules()
--------gen-nodejs()
--------thrift()
----src()
--------hive-thrift()
----.npmignore(25B)
----generate.sh(470B)
----examples()
--------test.js(771B)
----result_set.js(1KB)
----README.md(2KB)

网友评论