Re: Retrieve Column Family and Column with Java API

2012-03-12 Thread Doug Meil
Hi there- You probably want to see this... http://hbase.apache.org/book.html#dm.column.metadata You can get the CF's from HTableDescriptor. http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/HTableDescriptor.ht ml On 3/12/12 10:10 AM, "Mahdi Negahi" wrote: > >Dear All friends > >Is

Re: Retrieve Column Family and Column with Java API

2012-03-12 Thread N Keywal
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 --> q

Re: Retrieve Column Family and Column with Java API

2012-03-12 Thread Takuya UESHIN
Hi, I think you want to know about the following methods: http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Scan.html#addColumn(byte[], byte[]) http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Scan.html#addFamily(byte[]) Thanks. 2012/3/12 Mahdi Negahi > > Dear All