Habse API操作(刪除操作)

2021-10-01 13:12:25 字數 804 閱讀 5633

/**

* 根據rowkey刪除整行的所有列族、所有行、所有版本

* */

public static void deleterow(string tablename, string rowkey) throws ioexception

/*** 刪除某個row的指定列

* */

public static void deletecol(string tablename, string rowkey, string columnfamily, string column)

throws ioexception

/*** 刪除指定列族中所有列的時間戳等於指定時間戳的版本資料

* */

public static void deleteversion(string tablename, string rowkey, string columnfamily, long timestamp)

throws ioexception

/*** 刪除指定列族,注意要先disable,修改完再enable表

* *

*/public static void deletefamily(string tablename, string columnfamily) throws ioexception

/*** drop表,注意要先disable表,否則會報錯

* */

public static void droptable(string tablename) throws ioexception

mysql 刪除操作

mysql 刪除操作 語法 單錶語法 delete low priority quick ignore from tbl name where where definition order by limit row count 多表語法 delete low priority quick ignor...

redis 刪除操作

redis 鍵命令用於管理 redis 的鍵。redis 鍵命令的基本語法如下 redis 127.0 0.1 6379 command key nameredis 127.0 0.1 6379 set runoobkey redis okredis 127.0 0.1 6379 del runoo...

vi 刪除操作

dd 單行刪除 m,nd m行到n行刪除 m,d m行到結尾刪除 g 字元 d 刪除含有字元的所有行 g d 刪除空白行 s n s g 刪除空白行 g n s g 刪除空白行 s n g 刪除多行空白行,保留一行空白行 g d 刪除全文 x 刪除當前字元 dw 刪除當前字 dd 刪除當前行 d 刪...