Hey, no need to be sorry for anything. I never wanted to sound harsh. Don't
mind. Yes you are right. Get returns only 1 row. And for your 2nd question,
it depends on what suits your particular use case best. If it allows you to
use filters efficiently then do that. Otherwise go for co-proc.
Regards,
Mohammad Tariq
On Sun, Nov 18, 2012 at 3:18 AM, Dalia Sobhy <[email protected]>wrote:
>
>
> Dear Mohamed,
>
> I already read Hbase book, but because it is providing alot of functions I
> got confused !!
>
> So forgive me I need to ask another question..
>
> Does Scan returns all rows and Get only one row, am I right?
>
> Whats better using Coprocessors or Filters for aggregate functions, in
> case of performance wise ?
>
>
> > From: [email protected]
> > Date: Sun, 18 Nov 2012 02:47:15 +0530
> > Subject: Re: HTablePool
> > To: [email protected]
> >
> > All Scan operations are identical to Get with the exception of
> > instantiation. Get works on a single roe while in Scan rather than
> > specifying a single row, an optional startRow and stopRow may be defined
> > with Scan. If rows are not specified, all the rows are iterated. I would
> > suggest you to go through the official book at -
> > http://hbase.apache.org/book.html
> >
> > Regards,
> > Mohammad Tariq
> >
> >
> >
> > On Sun, Nov 18, 2012 at 2:41 AM, Stack <[email protected]> wrote:
> >
> > > On Sat, Nov 17, 2012 at 12:38 PM, Dalia Sobhy
> > > <[email protected]> wrote:
> > > >
> > > > Thanks Stack :D
> > > >
> > > > Another Question: Whats the difference between Scan and Get??
> > > >
> > >
> > > What do you think?
> > > St.Ack
> > >
>
>