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
  • 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
    19.  Exercise: Managing Data Using a Client API
    5m 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.

YOU MIGHT ALSO LIKE

Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
Rating 4.5 of 34 users Rating 4.5 of 34 users (34)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.3 of 97 users Rating 4.3 of 97 users (97)
Rating 4.4 of 20 users Rating 4.4 of 20 users (20)
Rating 4.6 of 44 users Rating 4.6 of 44 users (44)