hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Meil <doug.m...@explorysmedical.com>
Subject Re: Is there a API to get all the columns of a column family
Date Mon, 13 Feb 2012 16:35:30 GMT

I'll add this to the book.  This comes up from time to time.





On 2/13/12 11:04 AM, "Stack" <stack@duboce.net> wrote:

>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?
>
>St.Ack
>



Mime
View raw message