Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Hbase
  • Table Of Contents Toc
Learning Hbase

Learning Hbase

By : Shriparv
4.1 (8)
close
close
Learning Hbase

Learning Hbase

4.1 (8)
By: Shriparv

Overview of this book

If you are an administrator or developer who wants to enter the world of Big Data and BigTables and would like to learn about HBase, this is the book for you.
Table of Contents (12 chapters)
close
close
11
Index

Data model Java operations


There are some operations that can be performed on HBase data; these are known as HBase data model operations. These operations might have tasks such as reading from, writing to, and modifying data into HBase. Now, we will see the following data model operations:

  • Read operations using Get() and Scan()

  • Write operations using Put()

  • Modify operations using Delete()

Read

In this section, we will see the data models that are useful to read data from an HBase table.

Get()

Get() reads a row from a table. It can read a single or a set of rows based on the specified condition. It returns a result that contains data in key-value pairs or a map format. This method is provided by HTable classes and executed as HTable.get (condition). It returns a row specified as a row key or one that's based on a matching filter.

Constructors

Using the following constructors, we can create an object to access the HBase APIs to read the data:

Result get (byte [] RowKey) throws IOException
Result...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Hbase
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon