Good news: I found it. The select(...) creates the tuples in a form
of
Row objects.
Problem is that our current API limits the output to Vertex as it frames
it later.
We could add support for the Row object and create RowFramed which would
hold the tuples of framed vertexes.
Ondra
On 12.6.2014 14:03, Ondrej Zizka wrote:
> Nested iterations create verbose rules with a lot of boilerplate.
> Maybe the iteration could be over tuples of vertices.
> Eg. in DiscoverJavaFilesCP, instead of
>
> forEach( windupConf )
> ...
> ...
> ............
> .....
> forEach( javaFile )
>
> we could query to get
> [ { windupConf, javaFile },
> { windupConf, javaFile }
> ... ]
>
> And iterate over that.
> Anyone investigated this? IIRC from the Gremlin tutorial, this is possible.
>
> Ondra
> _______________________________________________
> windup-dev mailing list
> windup-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/windup-dev
_______________________________________________
windup-dev mailing list
windup-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/windup-dev