Hi Shivanandan,

sorry for late answer. To do what you want to achieve you have to start an
embedded server and then use the ETL from the Java API. This way the ETL
will be executed in the same VM of the server, and when the ETL terminates
the server will remain up and running and you will be able to query the
in-memory db. Of course, when you shut down the application the DB will be
lost (if it's an in-memory only db...)

To create a simple application that launches an embedded server you can
refer to this:

http://www.orientechnologies.com/docs/last/orientdb.wiki/Embedded-Server.html

About invoking the ETL from Java API instead of command line, I suggest you
to take a look at the source code of OETLProcessor (its main() method is
directly invoked from the command line tool)

https://github.com/orientechnologies/orientdb-etl/blob/master/src/main/java/com/orientechnologies/orient/etl/OETLProcessor.java

Thanks

Luigi






2015-02-20 8:40 GMT+01:00 Shivanandan Gupta <[email protected]>:

> Can someone please help me on this , as currently I am doing evaluation of
> orientdb and based on this we will decide to go with orientdb or to analyze
> another no-sql db.
>
> really appreciate your help.
>
> Thanks,
> Shivanandan Gupta
>
> --
>
> ---
> 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.
>

-- 

--- 
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.

Reply via email to