hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dalia Sobhy <dalia.mohso...@hotmail.com>
Subject RE: HTablePool
Date Sat, 17 Nov 2012 20:38:32 GMT

Thanks Stack :D

Another Question: Whats the difference between Scan and Get??

> Date: Sat, 17 Nov 2012 11:04:18 -0800
> Subject: Re: HTablePool
> From: stack@duboce.net
> To: user@hbase.apache.org
> 
> On Sat, Nov 17, 2012 at 10:14 AM, Dalia Sobhy
> <dalia.mohsobhy@hotmail.com> wrote:
> >
> > Dear all,
> >
> > I want to understand when to use HTable, HTablePool and HtableAdmin in Java API
?
> >
> 
> HTable to access a table.
> 
> HTablePool if lots of threads in your application accessing a table or tables.
> 
> HTableAdmin when you want to run administrative functions; its API
> only has admin functions as opposed to HTable which has DML
> 
> > I tried to read Hbase book, but I got confused.. So any help please?
> >
> > How to insert data using Put in a HTablePool instance..?
> >
> 
> HTablePool returns HTables.  Use the returned HTable to do your put against.
> 
> St.Ack
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message