From: pShah <pranav.shah....@gmail.com>
Date: Mon, 7 May 2012 21:32:10 -0700 (PDT)
Local: Tues, May 8 2012 12:32 am
Subject: Re: [TinkerPop] How to find something using the Java code Gremlin or Pipe
How do you specify the "filter" on "scatter"? I tried multiple things before posting here, but I cannot solve it. I wrote this small function which is called from inside the filter, but all PipeFunction GetFilter = new PipeFunction<Object, Boolean>() { Output: class java.util.HashMap$Entry Almost everything I try to get the avle gives me a ClassCastException: Please help. On Monday, April 30, 2012 12:42:22 PM UTC-4, Marko A. Rodriguez wrote:
> Hi, > > What I am trying to do is: > > 1. Find the vertices for 'marko', 'peter', and 'josh' > There are various ways to do this. First, lets get the vertices marko, > marko = g.idx(T.v)[[name:'marko']].next() > ------------------------------------- > 1. No set intersection > gremlin> [marko, peter, > 2. Set intersection > gremlin> > ==>lop > I'm sure there are other ways of attacking the problem. However, I believe > Good luck, You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||