hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: Is there a API to get all the columns of a column family
Date Mon, 13 Feb 2012 16:04:11 GMT
On Mon, Feb 13, 2012 at 1:25 AM, hongqizh <hqzhang@talend.com> wrote:
> Hello,
> I want to retrieve the structure of a table, and now I know how to get the
> column families of a table, HTable->HTableDescriptor->HColumnDescriptor, but
> I was blocked when I trying to find the API to get the columns of a column
> family. Anyone knows about this API?
> Thanks a lot for your help!

Its not possible without getting all data in all columns; no two rows
necessarily have the same columns.  But perhaps there was some
discipline in place inserting data in your case and retrieving all
data on a particular row will tell you the columns used on all rows?


View raw message