Are Gremlin statements converted to OSQL?

56 views
Skip to first unread message

Valery T

unread,
Sep 18, 2015, 3:49:40 PM9/18/15
to orient-...@googlegroups.com
Does Gremlin connector for OrientDb convert Gremlin statements to OSQL?
Is Gremlin code compiled into Java bytecode?

Luca Garulli

unread,
Sep 18, 2015, 5:09:58 PM9/18/15
to OrientDB
Hi Valery,
When possible Blueprints query is converted to SQL. But I'm not sure if Gremlin uses the Blueprints query (aka Graph.query()) or just works directly on vertices/edges.

Best Regards,

Luca Garulli
Founder & CEO


On 18 September 2015 at 21:49, Valery T <isobr...@gmail.com> wrote:
Does Gremlin connector for OrientDb convert Gremlin statements to OSQL?
Is Gremlin code compiled into Java?

--

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

W. Craig Trader

unread,
Sep 23, 2015, 2:08:43 PM9/23/15
to orient-...@googlegroups.com
Valery ...

Gremlin is a Domain Specific Language (DSL) written in Groovy, which compiles to bytecode on the JVM, just like Java, but it is not compiled to Java.

- Craig -

On Fri, Sep 18, 2015 at 3:49 PM, Valery T <isobr...@gmail.com> wrote:
Does Gremlin connector for OrientDb convert Gremlin statements to OSQL?
Is Gremlin code compiled into Java?

Valery T

unread,
Sep 23, 2015, 2:36:37 PM9/23/15
to orient-...@googlegroups.com
Does Gremlin have a performance overhead comparing to OSQL?

--

---
You received this message because you are subscribed to a topic in the Google Groups "OrientDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orient-database/EheSQEZcst4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orient-databa...@googlegroups.com.

Riccardo Tasso

unread,
Sep 23, 2015, 3:15:27 PM9/23/15
to orient-...@googlegroups.com
Hi,
   some time ago (Orient 1.7.0) I tried many queries both with OSQL and with gremlin and I found OSQL faster.

I can't give you numbers or more details and, above all, Orient has changed a lot in the lastest releases.

Any way I would prefer OSQL also because it gives you more control over Orient specific features. I also found it easiest to learn.

Cheers,
   Riccardo
Reply all
Reply to author
Forward
0 new messages