Hi, Yes and no. No, because as a table can have millions of columns and these columns can be different for every row, the only way to get all the columns is to scan the whole table. Yes, because if you scan the table you can have the columns names. See Result#getMap: it's organized by family --> qualifier --> version --> value And yes, because you can get the column families from the HTableDescriptor.
N. On Mon, Mar 12, 2012 at 3:10 PM, Mahdi Negahi <negahi.ma...@hotmail.com>wrote: > > Dear All friends > > Is there any way to retrieve a table's column families and columns with > Java. > > for example, i want to scan a table that i know only its name. >