November 2014
Beginner to intermediate
326 pages
7h 4m
English
The operations that are the basic blocks of data model are Get, Put, Scan, and Delete, using which we can read, write, and delete records from an HBase table. We will discuss these operations in detail now.
The Get operation can fetch certain records from an HBase table. It is similar to the select [fields] where RowKey=<Row Key value here> statement in relational databases, where we fetch a row from the table.
The following is the representation of Get:
public Result get(Get get)throws IOException
In the preceding code, the Get operation can be provided as a single get object out of a list of get objects as get(List<Get> gets). It is specified by Get in the HTableInterface interface given by HBase. The Get operation receives ...
Read now
Unlock full access