Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - Spatial data posting in HBase


Copy link to this message
-
Re: Spatial data posting in HBase
Ted Yu 2013-09-24, 13:43
There're plenty of examples in unit tests.
e.g. :

      Put put = new Put(Bytes.toBytes("row" + String.format("%1$04d", i)));
      put.add(family, null, value);
      table.put(put);

value can be obtained through Bytes.toBytes().
table is an HTable.

Cheers
On Tue, Sep 24, 2013 at 4:15 AM, cto <[EMAIL PROTECTED]> wrote:

> Hi ,
>
> I am very new in HBase. Could you please let me know , how to insert
> spatial
> data (Latitude / Longitude) in HBase using Java .
>
>
>
> --
> View this message in context:
> http://apache-hbase.679495.n3.nabble.com/Spatial-data-posting-in-HBase-tp4051123.html
> Sent from the HBase User mailing list archive at Nabble.com.
>