lucio Piccoli wrote:
hi Tho Pham
i have checked the HQL api but the only reference i found was the
org.apache.hadoop.hbase.hql package.
is this correct?
HQL was the shell in 0.1.x. Its been deprecated in TRUNK and the
pending 0.2.0 release.
Since it use a TableFormatter to display the result set, i *cant* see how to use it efficently to retrieve a result set.
i guess i was expecting a JDBC like semantic.
i really would like to port my existing application over to HBase but use existing SQL like (Hibernate) query syntax.
Is this what HBase is all about or have i missunderstood?
any help appreciated.
Disabuse yourself of any notion that hbase is an RDBMS. There's no SQL,
JDBC, hibernate connector, etc.
Going by your questions above, I'd suggest you do a little background
reading so you get better sense of what hbase is about. Start in with
the hbase architecture paper up on our wiki:
http://wiki.apache.org/hadoop/Hbase. Feel free to ask questions in
here in this forum if there is anything you need help with.
Yours,
St.Ack
adios dude
-lucioto pop
-----------------------------------
[EMAIL PROTECTED]
Date: Mon, 21 Jul 2008 22:14:33 +0700
From: [EMAIL PROTECTED]
To: [email protected]
Subject: Re: HQL usage
Dear lucio,
Yes, sure.
1. Download hbase-0.1.3 library
2. Create new Java project
3. Refer to the download package
4. Using hql package in HBase. You should see the API docs of HBase for
more detail.
Good luck,
Best regards,
Tho Pham
lucio Piccoli wrote:
hi all,
i have been reading the docs on HQL and thought it would be a great to use
programatically.
but after checking out the src, it seems it is only used for the shell.
is that the intended usage of HQL or can it (or its replacement) be used
programatically?
adios dude
-lucio
-----------------------------------
[EMAIL PROTECTED]
_________________________________________________________________
Want to help Windows Live Messenger plant more Aussie trees?
http://livelife.ninemsn.com.au/article.aspx?id=443698
_________________________________________________________________
Meet singles near you. Try ninemsn dating now!
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fdating%2Eninemsn%2Ecom%2Eau%2Fchannel%2Findex%2Easpx%3Ftrackingid%3D1046247&_t=773166080&_r=WL_TAGLINE&_m=EXT