Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] Spark example in Java

Good Morning.

There was an example posted to either Gitter or this list a few months ago, I’ll try digging it up.

The Java bindings will work just like the Scala but with out the benefit of some of the implicit conversions for SpatialRDD types.

Tom

> On Feb 23, 2018, at 8:47 AM, Emilio Lahr-Vivaz <elahrvivaz@xxxxxxxx> wrote:
> 
> Hello,
> 
> I'm not aware of any examples... we do have a java wrapper for our SpatialRDDProvider class though. It uses org.apache.spark.api.java.JavaRDD instead of the normal scala RDD:
> 
> https://github.com/locationtech/geomesa/blob/master/geomesa-spark/geomesa-spark-core/src/main/scala/org/locationtech/geomesa/spark/api/java/JavaGeoMesaSpark.scala
> 
> I believe it is used for python interoperability though, so YMMV.
> 
> Thanks,
> 
> Emilio
> 
> On 02/22/2018 11:22 PM, David Boyd wrote:
>> All:
>> 
>>    Being lazy here.   Does anyone have a working example of
>> using Geomesa with spark written in Java?
>> 
>> I have hacked and used the Scala examples, but for production
>> I need to use Java.
>> 
> 
> _______________________________________________
> geomesa-users mailing list
> geomesa-users@xxxxxxxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.locationtech.org/mailman/listinfo/geomesa-users



Back to the top