We recently developed the spark-orientdb connector that you can use for
your purpose.
You can find it on GitHub: spark-orientdb-connector
<https://github.com/metreta/spark-orientdb-connector>
You can use both OrientDB Document approach and Graph approach directly
from the Spark Context with these 2 functions:
val yourRDD = sc.orientQuery("your-class-name")
val yourGraphXgraph = sc.orientGraph()
I hope this can help you.
Valerio
Metreta IT
Il giorno mercoledì 24 giugno 2015 03:46:59 UTC+2, Michal Lacko ha scritto:
>
> What would be the approach if i wish to access my data in orientdb from
> spark ?
>
> I found solutions for cassandra (since i need that as well), but there
> isn't much so far on orientdb.
>
> EDIT: i prefer scala.
>
> Thanks for any suggestions.
>
> Michal.
>
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.