Koa.js – Hello World
Once we have set up the development, it is time to start developing our first app using Koa. Create a new file called app.js and type the following in it. var koa…
Once we have set up the development, it is time to start developing our first app using Koa. Create a new file called app.js and type the following in it. var koa…
To get started with developing using the Koa framework, you need to have Node and npm (node package manager) installed. Confirm that node and npm are installed by running the…
A web applications framework provides you with a simple API to build websites, web apps, and backends. You need not worry about low-level protocols, processes, etc. What is Koa? Koa…
We can grant and revoke permissions to users in HBase. There are three commands for security purpose: grant, revoke, and user_permission. grant The grant command grants specific rights such as read, write,…
count You can count the number of rows of a table using the count command. Its syntax is as follows: count ‘<table name>’ After deleting the first row, emp table will have…
Scaning using HBase Shell The scan command is used to view the data in HTable. Using the scan command, you can get the table data. Its syntax is as follows: scan ‘<table…
Deleting a Specific Cell in a Table Using the delete command, you can delete a specific cell in a table. The syntax of delete command is as follows: delete ‘<table name>’, ‘<row>’, ‘<column name…
Reading Data using HBase Shell The get command and the get() method of HTable class are used to read data from a table in HBase. Using get command, you can get a single row of data at a…
Updating Data using HBase Shell You can update an existing cell value using the put command. To do so, just follow the same syntax and mention your new value as shown below.…
Inserting Data using HBase Shell This chapter demonstrates how to create data in an HBase table. To create data in an HBase table, the following commands and methods are used:…