>>> a = g.V('3').next()
>>> a.label
'airport'
>>> a.id
'3'
>>> p = g.V('3').properties().toList()
>>> print(p)
[vp[code->AUS], vp[type->airport], vp[desc->Austin Bergstrom Int], vp[country->US], vp[longest->12250], vp[city->Austin], vp[lon->-97.6698989868164], vp[elev->542], vp[icao->KAUS], vp[region->US-TX], vp[runways->2], vp[lat->30.1944999694824]]
>>> vm = g.V('3').valueMap().next()
>>> print(vm)
{'country': ['US'], 'code': ['AUS'], 'longest': [12250], 'city': ['Austin'], 'elev': [542], 'icao': ['KAUS'], 'lon': [-97.6698989868164], 'runways': [2], 'type': ['airport'], 'region': ['US-TX'], 'lat': [30.1944999694824], 'desc': ['Austin Bergstrom International Airport']}
>>> g.V('3').valueMap('runways').next()
{'runways': [2]}
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/c3b2fc69-6d23-4842-b522-a4ef8c9c9349%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gremli...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/98253f64-ee02-4b09-9eec-ea0967be849d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAA-H43_MoD-m6JBDwH6q6xHJvYTVaHZBKFBeHNO4kusqnRLTGQ%40mail.gmail.com.
--
Regards,
Yuxing Han
Email: yuxi...@gmail.com
Address: East China Normal University, Shanghai, China 200062
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAAp6CqnVuWDJp0ErDkjiXq2uH8ThYdu1ty3x8HwjNs3ZC7BWzg%40mail.gmail.com.