list
Contents
Definition
Returns all tables in HBase. An optional regular expression parameter can be used to filter the output.
Usage
list ['[<namespace_name>:]<table_name>' | 'table_regex']
Parameter | Description |
---|---|
namespace_name |
A namespace name |
table_name |
A table name |
table_regex |
A regular expression for searching tables |
Examples
Listing of all tables
hbase(main):010:0> list TABLE SYSTEM.CATALOG SYSTEM.FUNCTION SYSTEM.LOG SYSTEM.MUTEX SYSTEM.SEQUENCE SYSTEM.STATS ns1:t2 t1 t3 9 row(s) Took 0.0044 seconds => ["SYSTEM.CATALOG", "SYSTEM.FUNCTION", "SYSTEM.LOG", "SYSTEM.MUTEX", "SYSTEM.SEQUENCE", "SYSTEM.STATS", "ns1:t2", "t1", "t3"]