Access Data through the Java Client API
Apache HBase 1.1.1
| Intermediate
- 19 videos | 1h 20m 26s
- Earns a Badge
Apache HBase is written in Java and therefore there are multiple ways to access HBase using various clients. Explore various tasks using the shell and Java client API, including reading and writing data and updating and deleting.
WHAT YOU WILL LEARN
-
establish a connection to HBase using a Java API with the HConnection, HTable, and HTablePoolcreate tables using the client Java APIcreate a Put class instance with a rowkey to store data in an HBase tableadd data to an HBase table using the add() method in the Put instancespecify a timestamp within a Put constructor to specify different versionsuse the get() and has() method to check the existence of a column in an HBase tableuse the Get class to read data from an HBase tableuse the addFamily() and addColumn () methods of the Get classuse the setTimeRange(), setTimeStamp(), and setMaxVersions() methods of the Get class to retrieve versions of columnsuse the getValue() and getColumnLast() to retrieve specific values from a cell in an HBase table
-
use List with the Get class to return a list of values in a batchuse Scan() to read an entire HBase tableuse Scan() to read a table starting at a specific row or scan a range of rows from an HBase tableuse different methods to further narrow search results from a Scan constructoruse the getScanner() methods to get the instance of a scan and browse the resultsuse the ResultScanner class to retrieve the rows from the scannerupdate data in an HBase table using the Put instancedelete data from an HBase tablecreate an HBase table and insert, update, delete, and retrieve data using the Java Client API
IN THIS COURSE
-
1.Establishing a Connection2m 16sUP NEXT
-
2.Creating Tables Using the Client Java API1m 59s
-
3.Creating a Put Class Instance2m 43s
-
4.Adding Data Using the add() Method3m 49s
-
5.Using Timestamp with Put for Versioning3m 32s
-
6.Using the get() and has() Method2m 21s
-
7.Using the Get Class2m 39s
-
8.Retrieving Columns Using the Get Class3m 33s
-
9.Retrieving Versions of Columns Using the Get Class6m 4s
-
10.Retrieving Specific Values From a Cell3m 8s
-
11.Using List With the Get Class6m 3s
-
12.Using Scan() to Read an Entire Table3m 59s
-
13.Scanning Rows Starting at a Specific Row or a Range3m 7s
-
14.Using Methods to Narrow Search Results8m 44s
-
15.Using getScanner() Method2m 48s
-
16.Using the ResultScanner Class4m 4s
-
17.Updating Data5m 26s
-
18.Deleting Data9m 4s
-
19.Exercise: Managing Data Using a Client API5m 8s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.