Create Data into HBase - SoojungHong/HBase GitHub Wiki
To create data in an HBase table, the following commands and methods are used:
- put command,
- add() method of Put class, and
- put() method of HTable class.
Using put command, you can insert rows into a table. Its syntax is as follows:
put ’
’,’row1’,’colfamily:colname’,’’