Home  >  Article  >  Database  >  HBase Shell常用操作

HBase Shell常用操作

WBOY
WBOYOriginal
2016-06-07 16:31:041113browse

1、表操作添加表 create 'table_name','family' 删除表 disable 'table_name'drop 'table_name' 添加column family alter 'table_name', {NAME = 'cf_new'} 查看表结构 describe 'table_name' 列出所有表 list 2、数据(行)操作 原文地址:HBase Shell常用

1、表操作 添加表
create 'table_name','family'
删除表
disable 'table_name'
drop 'table_name'
添加column family
alter 'table_name', {NAME => 'cf_new'}
查看表结构
describe 'table_name'
列出所有表
list
2、数据(行)操作    
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn