ETL with document class

51 views
Skip to first unread message

lu...@emaxsrl.com

unread,
Dec 19, 2014, 10:28:46 AM12/19/14
to orient-...@googlegroups.com
Hello,
I'm using  v2.0-rc1 version.
In documentation  (http://www.orientechnologies.com/docs/2.0/orientdb-etl.wiki/Introduction.html) all the examples refer to a imports against V classes.
{ "vertex": { "class": "$className"} }
Is it possible to import data into a no vertex class with ETL?

Thanks
Luca

Luca Garulli

unread,
Dec 19, 2014, 6:34:58 PM12/19/14
to orient-database
Hi Luca,
Sure, just remove the vertex transformer: in the transformer pipeline they already are document.

Lvc@


--

---
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 orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Luca Donazzon

unread,
Dec 20, 2014, 4:21:47 PM12/20/14
to orient-...@googlegroups.com


Hi Lvc@,
if I remove vertex transformer it seems to work but the point is I don't know where the records go...!?
So, how can I tell to ETL procedure in which class to put records? :)

Thanks 
Luca

Luca Donazzon

unread,
Dec 20, 2014, 4:26:29 PM12/20/14
to orient-...@googlegroups.com
Hi Lvc@,
if I remove the vertex transformer it seems to work...but the records go into "default" class...how can I tell ETL procedure to load records into a specific class? 

Thanks
Luca

Luca Garulli

unread,
Dec 21, 2014, 1:57:13 PM12/21/14
to orient-database

Hi Luca,
Just set the fiels @class to your classname.

Lvc@

lu...@emaxsrl.com

unread,
Dec 22, 2014, 3:18:55 AM12/22/14
to orient-...@googlegroups.com
Hi Lvc@,
it works! Great ;)

Thanks
Luca

Il giorno venerdì 19 dicembre 2014 16:28:46 UTC+1, lu...@emaxsrl.com ha scritto:
Reply all
Reply to author
Forward
0 new messages