Hi Diego,
Were able able to get a vertice by providing the class name ? . If yes,
can you please share. Thanks !!
I am able to get it by rid :
g.v('#15:0').as('z').out('zone-depends')
but what I want it to get it by class name like your example.
On Monday, January 27, 2014 9:47:19 AM UTC-5, Diego Martelli wrote:
>
> Hi all,
> I'm trying to call a Gremlin command with some parameter, but I have no
> idea how to indacate parameter in query and how pass parameters to the
> executor.
>
>
> This is what I do, but I have
>
> "java.lang.Integer cannot be cast to java.lang.String"
>
> g.command(new OCommandGremlin("g.V('@class', ?).count()")).execute("Person");
>
>
> Could a anyone help me with an example or a link?
>
> I'm working on a 1.6.2
>
>
> Diego
>
>
--
---
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.