Access Data through the Java Client API

Apache HBase 1.1.1    |    Intermediate
  • 19 videos | 1h 20m 26s
  • Earns a Badge
Rating 4.7 of 19 users Rating 4.7 of 19 users (19)
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 htablepool
    Create tables using the client java api
    Create a put class instance with a rowkey to store data in an hbase table
    Add data to an hbase table using the add() method in the put instance
    Specify a timestamp within a put constructor to specify different versions
    Use the get() and has() method to check the existence of a column in an hbase table
    Use the get class to read data from an hbase table
    Use the addfamily() and addcolumn () methods of the get class
    Use the settimerange(), settimestamp(), and setmaxversions() methods of the get class to retrieve versions of columns
    Use 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 batch
    Use scan() to read an entire hbase table
    Use scan() to read a table starting at a specific row or scan a range of rows from an hbase table
    Use different methods to further narrow search results from a scan constructor
    Use the getscanner() methods to get the instance of a scan and browse the results
    Use the resultscanner class to retrieve the rows from the scanner
    Update data in an hbase table using the put instance
    Delete data from an hbase table
    Create an hbase table and insert, update, delete, and retrieve data using the java client api

IN THIS COURSE

  • 2m 16s
    In this video, you will connect to HBase using a Java API with the HConnection, HTable, and HTablePool. FREE ACCESS
  • 1m 59s
    In this video, you will learn how to create tables using the client Java API. FREE ACCESS
  • Locked
    3.  Creating a Put Class Instance
    2m 43s
    Learn how to create a Put class instance with a rowkey to store data in an HBase table. FREE ACCESS
  • Locked
    4.  Adding Data Using the add() Method
    3m 49s
    To add data to an HBase table, use the add() method in the Put instance. FREE ACCESS
  • Locked
    5.  Using Timestamp with Put for Versioning
    3m 32s
    Upon completion of this video, you will be able to specify a timestamp within a Put constructor to specify different versions. FREE ACCESS
  • Locked
    6.  Using the get() and has() Method
    2m 21s
    In this video, find out how to use the get() and has() methods to check the existence of a column in an HBase table. FREE ACCESS
  • Locked
    7.  Using the Get Class
    2m 39s
    To find out how to use the Get class to read data from an HBase table, consult the HBase documentation. FREE ACCESS
  • Locked
    8.  Retrieving Columns Using the Get Class
    3m 33s
    In this video, you will learn how to use the addFamily() and addColumn() methods of the Get class. FREE ACCESS
  • Locked
    9.  Retrieving Versions of Columns Using the Get Class
    6m 4s
    During this video, you will learn how to use the setTimeRange(), setTimeStamp(), and setMaxVersions() methods of the Get class to retrieve versions of columns. FREE ACCESS
  • Locked
    10.  Retrieving Specific Values From a Cell
    3m 8s
    In this video, learn how to use the getValue() and getColumnLast() methods to retrieve specific values from a cell in an HBase table. FREE ACCESS
  • Locked
    11.  Using List With the Get Class
    6m 3s
    In this video, you will use the List class with the Get method to return a list of values in a batch. FREE ACCESS
  • Locked
    12.  Using Scan() to Read an Entire Table
    3m 59s
    In this video, you will learn how to use Scan() to read an entire HBase table. FREE ACCESS
  • Locked
    13.  Scanning Rows Starting at a Specific Row or a Range
    3m 7s
    Find out how to use Scan() to read a table starting at a specific row or scan a range of rows from an HBase table. FREE ACCESS
  • Locked
    14.  Using Methods to Narrow Search Results
    8m 44s
    Learn how to use different methods to further narrow search results from a Scan. FREE ACCESS
  • Locked
    15.  Using getScanner() Method
    2m 48s
    In this video, learn how to use the getScanner() methods to get an instance of a scan and browse the results. FREE ACCESS
  • Locked
    16.  Using the ResultScanner Class
    4m 4s
    In this video, learn how to use the ResultScanner class to retrieve the rows from a scanner. FREE ACCESS
  • Locked
    17.  Updating Data
    5m 26s
    In this video, you will update data in an HBase table using the Put class. FREE ACCESS
  • Locked
    18.  Deleting Data
    9m 4s
    In this video, you will learn how to delete data from an HBase table. FREE ACCESS
  • Locked
    19.  Exercise: Managing Data Using a Client API
    5m 8s
    Learn how to create an HBase table and insert, update, delete, and retrieve data using the Java Client API. FREE ACCESS

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.

YOU MIGHT ALSO LIKE

Rating 4.5 of 34 users Rating 4.5 of 34 users (34)
Rating 3.6 of 10 users Rating 3.6 of 10 users (10)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.5 of 18 users Rating 4.5 of 18 users (18)
Rating 4.4 of 524 users Rating 4.4 of 524 users (524)
Rating 4.6 of 13 users Rating 4.6 of 13 users (13)