Create table create ‘TableName’, ‘ColumnFamily’ LLDB: create ‘testTable’, ‘message’ query table structure: desc ‘TableName’ eg: List Insert data format: put ‘TableName’, ‘RowKey’, ‘columnFamily’ eg: Put ‘testTable’, ‘1’, ‘message:info’, ‘Hello Hbase’ put ‘testTable’, ‘1’, ‘message: MSG’, ‘Hello Hadoop’ put ‘testTable’, ‘2’, ‘message:info’, ‘a’ put ‘testTable’, ‘2’, ‘message: MSG’, ‘b’ put ‘testTable’, ‘2’, ‘message:info’, ‘C’ put ‘testTable’, ‘2’, ‘message:info1’, ‘info’

Disable ‘tableName’ DROP ‘tableName’ queries data in a table scan ‘tableName’ obtains specified rows by rowKey get ‘tableName’, ‘rowKey’

scan 'chb_20181016', { LIMIT => 10} scan 'chb_20181016', { LIMIT => 30, While the STARTROW = > '1010 a2. B1, B2-20100001 _2108_117 131.19.173 _'. STOPROW=>' 1010A2.b1.B2-20100001_2108_117.131.19.173_A '} filter, subString matching scan 'CHb_20181016 ', {LIMIT => 30, While the STARTROW = > '1010 a2 B1, B2-20100001 _2108_117 131.19.173 _', STOPROW = > '1010 a2 B1, B2-20100001 _2108_117 131.19.173 _a', FILTER => " (SingleColumnValueFilter ('cf1', 'data', =, 'the substring:, b183.240.203.66)) and (SingleColumnValueFilter (' cf1' and 'data', =, 'the substring:, e1)) "}Copy the code