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

2012-05-30 Thread Stack
On Wed, May 30, 2012 at 9:59 AM, Kevin 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 > get carried through to

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

2012-05-30 Thread Buttler, David
May 30, 2012 10:43 AM To: user@hbase.apache.org Subject: Re: Scan addFamily vs FamilyFilter(EQUAL, ...) On Wed, May 30, 2012 at 9:59 AM, Kevin 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 ca

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

2012-05-30 Thread Stack
On Wed, May 30, 2012 at 5:38 PM, Buttler, David 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 > Scan.addColumn("a","

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

2012-05-30 Thread Anoop Sam John
[saint@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 wrote: > I am curious and trying to learn which method is best when wanting to

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

2012-05-30 Thread Stack
On Wed, May 30, 2012 at 11:18 PM, Anoop Sam John 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 intentionally

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

2012-05-31 Thread Ramkrishna.S.Vasudevan
; From: 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