摘要: ① createTable(String tableName, String[] fields) 创建表,参数tableName为表的名称,字符串数组fields为存储记录各个域名称的数组。要 求当HBase已经存在名为tableName的表的时候,先删除原有的表,再创建新的表。 import ja 阅读全文
posted @ 2020-11-11 12:47 Miraculous_B 阅读(2543) 评论(0) 推荐(0)
摘要: import java.io.IOException; public class E_getTableRowSum { public static Configuration configuration; public static Connection connection; public sta 阅读全文
posted @ 2020-11-11 12:44 Miraculous_B 阅读(192) 评论(0) 推荐(0)
摘要: import java.io.IOException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.Cell; import org.apache.hadoop.hbase.CellUtil; 阅读全文
posted @ 2020-11-11 12:42 Miraculous_B 阅读(422) 评论(0) 推荐(0)
摘要: import java.io.IOException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.h 阅读全文
posted @ 2020-11-11 12:40 Miraculous_B 阅读(520) 评论(0) 推荐(0)
摘要: import java.io.IOException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.Cell; import org.apache.hadoop.hbase.CellUtil; 阅读全文
posted @ 2020-11-11 12:39 Miraculous_B 阅读(463) 评论(0) 推荐(0)
摘要: import java.io.IOException; import java.util.Collection; import java.util.Iterator; import org.apache.hadoop.conf.Configuration; import org.apache.had 阅读全文
posted @ 2020-11-11 12:37 Miraculous_B 阅读(1891) 评论(0) 推荐(0)