Cloud Bigtable: Node.js Samples
Table of Contents
Before you begin
Before running the samples, make sure you've followed the steps outlined in Using the client library.
cd samples
npm install
cd ..
Delete Snippets
View the source code.
Usage:
node samples/deleteSnippets.js
Filter Snippets
View the source code.
Usage:
node samples/filterSnippets.js
Instances
View the source code.
Usage:
node samples/instances.js
Quickstart
View the source code.
Usage:
node quickstart.js <instanceId> <tableId>
Read Snippets
View the source code.
Usage:
node samples/readSnippets.js
Tableadmin
View the source code.
Usage:
node samples/tableadmin.js
Write Batch
View the source code.
Usage:
node writeBatch.js <instanceId> <tableId>
Write Conditionally
View the source code.
Usage:
node writeConditionally.js <instanceId> <tableId>
Write Increment
View the source code.
Usage:
node writeIncrement.js <instanceId> <tableId>
Simple Insert
Insert a row into a table.
View the source code.
Usage:
node writeSimple.js <instanceId> <tableId>
