I forgot to mention that gremlin query from studio you just can query like
"g.V....", no extra declarations and functions allowed. From Java you can't
probably(I didn't find how to) query with aggregating into variables and
returnin those variables. But you can do in Java with Rexster or Groovy
engine, or pipelines. Also you can just launch gremlin console(goes with
OrientDB, *gremlin.bat*) and connect to your database. From there you can
use all the power of Gremlin.
>From studio you can't execute what you stated, only if you express it in
the one statement, something like this:
g.V[0..1000].groupBy{it}{it.out}{it.size}.cap.next().sort{a,b -> a.value <=>
b.value}
It would return the same result, but you can't treat with interim aggr.
variables this way.
--
---
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.