schema.vertexLabel('person').properties('name').createUniqueIndex()
g.V().hasLabel('person').has('name', 'John').next()
schema.vertexLabel('person').properties('age').create()
g.V().hasLabel('person').has('age', gt(30)).next()
schema.vertexLabel('person').partitionKey('id').properties('name', 'age').create()
schema.edgeLabel('friend').connection('person', 'person').properties('since').create()
schema.propertyKey('id').Text().create()
schema.propertyKey('name').Text().create()
schema.propertyKey('id').Text().ifNotExists().create()
schema.propertyKey('name').Text().create()
schema.propertyKey('name').Text().ifNotExists().create()
schema.propertyKey('age').Int().create()
gremlinserver:
graphsonv1requested: true
resultIterationBatchSize: 64
maxQueryStringLength: 32768
cacheClassLoader: false
scriptEvaluationTimeout: 300000
channelizer: org.apache.tinkerpop.gremlin.server.channel.WebSocketChannelizer
maxInProcessPerConnection: 64
maxSimultaneousUsagePerConnection: 64
cacheSize: 10000