Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> How to Create a Column in Hbase using Hbase Client API


Copy link to this message
-
Re: How to Create a Column in Hbase using Hbase Client API
HBase does not have the concept of "static" columns.
You just have "groups" the column families
and then each row has a set of qualifiers.

so, you don't need to specify the set of columns (qualifiers) on
"initialization"
you just add/update rows with the specified column

so you end up doing something like this pseudo code

createTable(tableName, group1, group2);
table.put(row0, column0, value)
table.put(row1, column0, value)
Matteo

On Tue, Apr 29, 2014 at 12:09 PM, Chamika Kasun <[EMAIL PROTECTED]>wrote: