Access Data through the Java Client API

Apache HBase 1.1.1    |    Intermediate
  • 19 Videos | 1h 21m 26s
  • Earns a Badge
Likes 13 Likes 13
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

  • Playable
    1. 
    Establishing a Connection
    2m 16s
    UP NEXT
  • Playable
    2. 
    Creating Tables Using the Client Java API
    1m 59s
  • Locked
    3. 
    Creating a Put Class Instance
    2m 43s
  • Locked
    4. 
    Adding Data Using the add() Method
    3m 49s
  • Locked
    5. 
    Using Timestamp with Put for Versioning
    3m 32s
  • Locked
    6. 
    Using the get() and has() Method
    2m 21s
  • Locked
    7. 
    Using the Get Class
    2m 39s
  • Locked
    8. 
    Retrieving Columns Using the Get Class
    3m 33s
  • Locked
    9. 
    Retrieving Versions of Columns Using the Get Class
    6m 4s
  • Locked
    10. 
    Retrieving Specific Values From a Cell
    3m 8s
  • Locked
    11. 
    Using List With the Get Class
    6m 3s
  • Locked
    12. 
    Using Scan() to Read an Entire Table
    3m 59s
  • Locked
    13. 
    Scanning Rows Starting at a Specific Row or a Range
    3m 7s
  • Locked
    14. 
    Using Methods to Narrow Search Results
    8m 44s
  • Locked
    15. 
    Using getScanner() Method
    2m 48s
  • Locked
    16. 
    Using the ResultScanner Class
    4m 4s
  • Locked
    17. 
    Updating Data
    5m 26s
  • Locked
    18. 
    Deleting Data
    9m 4s
  • Locked