Get the App
SLTechnology News&Howtos  ›  Servers  › 

What are the hbase shell dml operations?

Shulou Source: shulou.com Published: 2022-05-31 21:25:47 10月03日 Update

This article mainly introduces what the hbase shell dml operation has, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

Create tables, insert records, view records, delete records, view the total number of records, and view all data in a column.

1. Create a table

2. Insert record

Grammatical structure: put

Here, we add a piece of data, rowkey = person1, his name is zhu bajie, 250 years old, is a yaoguai.

3. View all the information of zhubajie

4. Only view the info of zhubajie

5. Only view the info:title of zhubajie

6. Ok, Western Heaven has successfully learned scriptures, and Bajie has become the messenger of the Pure altar. Let's change his title.

7. We also want to see what Bajie did before he became the messenger of the Pure altar.

8. Full table scan

9. We can also delete some fields

10. Different data and different fields

Look how many immortals we have collected

12. Empty the whole table

Thank you for reading this article carefully. I hope the article "what are the hbase shell dml operations" shared by the editor will be helpful to everyone? at the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Tags: Articles data differences messengers fields Bajie success value information interests at the same time names totals more friends knowledge immortals structure editing industry Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft macOS Xiaomi Huawei Shulou Information