[windup-dev] Pileline.select() to get a table /// Re: Nested rules alternative?
Ondrej Zizka
ozizka at redhat.com
Thu Jun 26 01:31:55 EDT 2014
Here's a nice article:
https://github.com/tinkerpop/gremlin/wiki/Pattern-Match-Pattern
Ondra
On 26.6.2014 04:43, Ondrej Zizka wrote:
> 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 at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/windup-dev
> _______________________________________________
> windup-dev mailing list
> windup-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/windup-dev
More information about the windup-dev
mailing list