hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alok Singh <aloksi...@gmail.com>
Subject Re: Question on the number of column families
Date Tue, 05 Aug 2014 22:17:16 GMT
One way to model the data would be to use a composite key that is made
up of the RDMS primary_key + "." + field_name. Then just have a single
column that contains the value of the field.
Individual field lookups will be a simple get and to get all of fields
of a record, you would do a scan with startrow => primary_key + ".!",
endrow => primary_key + ".~"


View raw message