Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Hbase Essentials
  • Toc
  • feedback
Hbase Essentials

Hbase Essentials

By : Garg
3.5 (2)
close
Hbase Essentials

Hbase Essentials

3.5 (2)
By: Garg

Overview of this book

This book is intended for developers and Big Data engineers who want to know all about HBase at a hands-on level. For in-depth understanding, it would be helpful to have a bit of familiarity with HDFS and MapReduce programming concepts with no prior experience with HBase or similar technologies. This book is also for Big Data enthusiasts and database developers who have worked with other NoSQL databases and now want to explore HBase as another futuristic, scalable database solution in the Big Data space.
Table of Contents (9 chapters)
close

HBase table scans

In the previous chapter, we took a look at CRUD operations in HBase. Now, let's take a step further and discuss table scans in Hbase. In Hbase, table scans are similar to iterators in Java or nonscrollable cursors in the RDBMS world. The HBase table scans command is useful for querying the data to access the complete set of records for a specific value by applying filters. Hence, the scan() operation reads the defined portion of data similar to the get() operation, and the filters are applied to the read portion for narrowing down the results further.

The org.apache.hadoop.hbase.client package provides the Scan class with the following constructors:

Constructor

Description

Scan()

The default scan constructor reads the entire HBase table, including all the column families and the respective columns

Scan(byte[] startRow)

Creates a scan operation starting at the specified row

Scan(byte[] startRow, byte[] stopRow)

Creates a scan operation for the range of...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete