RE: Scan addFamily vs FamilyFilter(EQUAL, ...)

2012-05-31 Thread Anoop Sam John
@gmail.com] on behalf of Stack [st...@duboce.net] Sent: Wednesday, May 30, 2012 11:13 PM To: user@hbase.apache.org Subject: Re: Scan addFamily vs FamilyFilter(EQUAL, ...) On Wed, May 30, 2012 at 9:59 AM, Kevin kevin.macksa...@gmail.com wrote: I am curious and trying to learn which method is best when

Re: Scan addFamily vs FamilyFilter(EQUAL, ...)

2012-05-31 Thread Stack
On Wed, May 30, 2012 at 11:18 PM, Anoop Sam John anoo...@huawei.com wrote: @Stack One thing I ran into when using the Scan.addFamily / Scan.addColumn is that those two methods overwrite each other. In the Scan#addColumn javadoc it is clearly telling about this overwrites...   So this seems

RE: Scan addFamily vs FamilyFilter(EQUAL, ...)

2012-05-31 Thread Ramkrishna.S.Vasudevan
: Anoop Sam John [mailto:anoo...@huawei.com] Sent: Thursday, May 31, 2012 11:49 AM To: user@hbase.apache.org Subject: RE: Scan addFamily vs FamilyFilter(EQUAL, ...) Hi, As per my understanding of the Scan code in your scenario where you want to go with scanning of some CFs ( not all) You

Re: Scan addFamily vs FamilyFilter(EQUAL, ...)

2012-05-30 Thread Stack
On Wed, May 30, 2012 at 9:59 AM, Kevin kevin.macksa...@gmail.com wrote: I am curious and trying to learn which method is best when wanting to limit a scan to a particular column or column family. The Scan class carries a Filter instance and a TreeMap of the family map and I am unsure how they

RE: Scan addFamily vs FamilyFilter(EQUAL, ...)

2012-05-30 Thread Buttler, David
do a Scan.addColumn(a,x), and then a Scan.addFamily(a), you will get the columns x, y, and z back. Dave -Original Message- From: saint@gmail.com [mailto:saint@gmail.com] On Behalf Of Stack Sent: Wednesday, May 30, 2012 10:43 AM To: user@hbase.apache.org Subject: Re: Scan addFamily

Re: Scan addFamily vs FamilyFilter(EQUAL, ...)

2012-05-30 Thread Stack
On Wed, May 30, 2012 at 5:38 PM, Buttler, David buttl...@llnl.gov wrote: One thing I ran into when using the Scan.addFamily / Scan.addColumn is that those two methods overwrite each other.  So, if you do Scan.addFamily(a), and the family contains qualifiers x, y, and z; and then do