I've read thru the Tinkerpop documentation but I don't see (or I missed) a way to do atomic incrementing of properties on a vertex.
I'd like to do something like adding a document to a folder and atomically update a property to cache counts
g.V('1234').as('folder')
//how? .property('single','documentCount', documentCount++)
//how? .property('single','iNodeCount', iNodeCount++)
.addV('iNode').as('document')
.property('single','type','document')
.addE('contains').from('folder').to('document')
and then could also cache a folder count
g.V('1234').as('folder')
//how? .property('single','folderCount', folderCount++)
//how? .property('single','iNodeCount', iNodeCount++)
.addV('iNode').as('childFolder')
.property('single','type','folder')
.addE('contains').from('folder').to('childFolder')
This would help avoid doing count() operations when requiring the counts.
Is this possible?