Home > Database > Mysql Tutorial > body text

HBase Shell常用操作

WBOY
Release: 2016-06-07 16:31:04
Original
1116 people have browsed it

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'
Copy after login
删除表
disable 'table_name'
drop 'table_name'
Copy after login
添加column family
alter 'table_name', {NAME => 'cf_new'}
Copy after login
查看表结构
describe 'table_name'
Copy after login
列出所有表
list
Copy after login
2、数据(行)操作    
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template