In this short video I have explained how one can perform delete operation in HBase Table using JAVA API.
delete 'table',1,'cf:col'
1. Specify the rowid,col
2. Connect to HBase and get a Table Object
3. Delete the value
Equivalent in Java :
Delete delete = new Delete(Bytes.toBytes("1"));
Use the Delete class to specify the row,column that will be deleted.
Row Id is specified using ByteArray.
Use addColumn to specify columns whose values should be deleted.
delete.addColumn(Bytes.toBytes("cf"), Bytes.toBytes("col"));
We can specify any number of columns for that specific rowid.
Use the delete method to delete the value
table.delete(delete);
На этой странице сайта вы можете посмотреть видео онлайн Delete Operation in HBase Table using JAVA API. длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Unboxing Big Data 25 Октябрь 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 1,104 раз и оно понравилось 10 зрителям. Приятного просмотра!