node-red-contrib-td 0.0.9

A Node-RED node to write to TreasureData

npm install node-red-contrib-td

Japanese

A Node-RED node to write to TreasureData.

NPM

Pre-requisites

The node-red-contrib-td requires Node-RED to be installed.

Install

Run the following command in the root directory of your Node-RED install

npm install node-red-contrib-td

Restart your Node-RED instance, the td node appears in the palette and ready for use.

Overview

Provides two nodes: a node that query tables, and a node that insert objects.

td in node

Use presto query to get data from Treasure Data.

Set presto query in msg.payload.

Tip: For information on how to write queries in Presto refer to this Presto Query Engine Introduction.

td out ndoe

Inserts objects into the specified table.

Set the objects to be inserted into msg.payload.

Tip: Set the data to be inserted in JSON format.

{"name":"test", "num":1234}

Acknowledgements

The node-red-contrib-td uses the following open source software:

  • td - Node.js Client Library for Treasure Data.

License

See license (Apache License Version 2.0).

Contributing

Both submitting issues to GitHub issues and Pull requests are welcome to contribute.

Developers

If the developer wants to modify the source of node-red-contrib-td, run the following code to create a clone.

cd ~\.node-red\node_modules
git clone https://github.com/joeartsea/node-red-contrib-td.git
cd node-red-contrib-td
npm install

Node Info

Version: 0.0.9
Updated 4 years, 8 months ago
License: Apache
Rating: not yet rated

Actions

Rate:

Downloads

1 in the last week

Nodes

  • td
  • td in
  • td out

Keywords

  • node-red
  • td
  • treasuredata

Maintainers