Database Reference
In-Depth Information
Data manipulation commands
The following table shows the list of frequently used data manipulation commands
that can be used from the HBase shell:
Command
Description
put
Stores a cell
scan
Scans a range of rows
get
Retrieves a cell
truncate
Truncates a table; this command is a combination of the
disable and drop commands
delete
Deletes a cell
deleteall
Deletes an entire family or row
count
Counts the rows in a table
incr
Increments a counter
Data-handling tools
The following table shows the list of frequently used data-handling administrative
tools that can be used from the HBase shell:
Command
Description
assign
Assigns a region to a server
balancer
Starts the balancer
compact
Starts the asynchronous compaction of a region or table
flush
Starts the asynchronous flush of a region or table
move
Moves a region to a different region server
split
Splits a region or table
For detailed help on any command, type help '<command>' , as shown in the
following command:
hbase(main):003:0> help 'create'
Creates a table. Pass a table name, and a set of column family
specifications (at least one), and, optionally, table configuration.
Column specification can be a simple string (name), or a dictionary
(dictionaries are described below in main help output), necessarily
including NAME attribute. Examples:
Search WWH ::




Custom Search