Re: Column names of a table in Hbase

2009-07-19 Thread Erik Holstad
Hi Bharath! Depending if you want to get the families names only or the combination family + qualifier there are different ways of doing this. If you just want the family names, you can do as Tim suggested getTableDescriptor().getFamilies(). But if you want to get all the columns(Family + qualifier

Re: Column names of a table in Hbase

2009-07-19 Thread bharath vissapragada
Thanks for ur reply Tim , Iam using Java API only (sorry for not mentioning that in my previous mail) On Sun, Jul 19, 2009 at 3:15 PM, tim robertson wrote: > If you are working in Java, I *think* you get this from the > HTable.getTableDescriptor(), then get the HColumnDescriptor for each > family

Re: Column names of a table in Hbase

2009-07-19 Thread tim robertson
If you are working in Java, I *think* you get this from the HTable.getTableDescriptor(), then get the HColumnDescriptor for each family and ask for it's values. http://hadoop.apache.org/hbase/docs/current/api/org/apache/hadoop/hbase/client/HTable.html#getTableDescriptor() If you're not working in

Column names of a table in Hbase

2009-07-19 Thread bharath vissapragada
Hi all , Sorry if this question has already been discussed .. I want to extract the all the column-names of a table . Can anyone tell me the corresponding function . I have googled it but none of the results gave me the correct answer . Thanks in advance