补第三次作业:忘记提交
https://www.cnblogs.com/txj1/p/14242328.html
第四次作业:忘记提交
https://www.cnblogs.com/txj1/p/14242345.html
第五次作业:
https://www.cnblogs.com/txj1/p/14242358.html
第六次作业:
https://www.cnblogs.com/txj1/p/14242372.html
1.列出HBase所有的表的相关信息,例如表名;
2.在终端打印出指定的表的所有记录数据;
3.向已经创建好的表添加和删除指定的列族或列;
添加:
删除:
4.统计表的行数:
5.清空指定的表的所有记录数据;
指定表:
2.关系型数据库中的表和数据(教材P92上),要求将其转换为适合于HBase存储的表并插入数据。
student表
course表
SC表
三.编程完成以下指定功能(教材P92下):
(1)createTable(String tableName, String[] fields)创建表。
(2)addRecord(String tableName, String row, String[] fields, String[] values)
(3)scanColumn(String tableName, String column)
(4)modifyData(String tableName, String row, String column)
(5)deleteRow(String tableName, String row)