Questions tagged [tinkerpop3]

Apache TinkerPop™ is an open source graph technology stack, providing a storage agnostic interface to graph databases and graph analytics frameworks. Tinkerpop 3.x represents a major change in the API since 2.x given a complete re-write with Java 8 and refined thinking with respect to graph traversal mechanisms for both OLTP and OLAP.

Apache TinkerPop™ 3.x provides graph computing capabilities for both graph databases (OLTP) and graph analytic systems (OLAP) under the Apache2 license.

It offers:

  • A standard, vendor-agnostic graph API on the JVM (needs Java 8)
  • In-memory reference implementation of this API, TinkerGraph
  • A standard, vendor-agnostic graph query language, called "Gremlin" (Groovy based)
  • OLTP and OLAP engines for evaluating query
  • A command line shell, Gremlin shell
  • Visualization, via Gephi Integration

More information:

731 questions
0
votes
1 answer

How to pipe the complete graph to Giraph through TinkerPop 3 stack?

I've a graph with different types of nodes & relationships. Each type of node has 3-4 properties. For testing purpose on HDFS, I'm using GraphSON file to store this graph. Now I want to analyse this graph using Giraph. I've explore Giraph's IO…
Parth
  • 729
  • 8
  • 23
0
votes
1 answer

Which tinkerpop graph databases do not support specifying an id?

The gremlin documentation says: Many graph vendors do not allow the user to specify an element ID and in such cases, an exception is thrown. I assume this refers to only specifying an ID when creating a new vertex or edge, not to the overall use…
matanster
  • 15,072
  • 19
  • 88
  • 167
0
votes
1 answer

Loading the whole graph DB in memory using Tinkerpop3

I'm using Tinkerpop3 to access a Neo4J DB with 1-2 GB size. Speed is very important and I want to load the whole graph in RAM, is there any way to load the graph in RAM? I already use indexing, so I don't want indexing, I want the whole graph DB in…
Omid
  • 1,959
  • 25
  • 42
0
votes
1 answer

Tinkerpop3 jump without knowing the size of loop

I am using Gremlin-Scala and I have the following code: val paths = w.as("a").out("next").jump( to = "a", jumpPredicate = { t: Traverser[Vertex] => t.loops < 5 } ).path.toList I don't know when my loop will finish, so I have no access to…
Omid
  • 1,959
  • 25
  • 42
-1
votes
1 answer

Why `.as()`.step used before `.fold()` is not able to use/refer after `.fold()` in apache Gremlin?

Why .as().step used before .fold() is not able to use/refer after .fold() in apache Gremlin? Eg: g.V().hasLabel('country').has('name', 'Japan').fold() .coalesce(__.unfold(), __.addV('country').property('name', 'Japan')).as('country') …
Thirumal
  • 8,280
  • 11
  • 53
  • 103
-1
votes
3 answers

How can I set array as property in janusgraph?

I want to set the property for vertex and edge as a list value. I'm using janusgraph. Gremlin-python
-1
votes
1 answer

How to solve java.lang.ClassNotFoundException: org.apache.tinkerpop.gremlin.spark.structure.io.gryo.GryoSerializer

I am using tinkerpop + Janus Graph + Spark build.gradle compile group: 'org.apache.tinkerpop', name: 'spark-gremlin', version: '3.1.0-incubating' below is some critical configuration that we have spark.serializer:…
Bravo
  • 8,589
  • 14
  • 48
  • 85
-1
votes
1 answer

Amazon Neptune compatible with Tinkerpop? Why and how?

I'm trying to learn a bit about graph languages and the query language Gremlin. This is from the docs: Amazon Neptune is compatible with Apache TinkerPop3 and Gremlin 3.4.1. This means that you can connect to a Neptune DB instance and use the…
Jwan622
  • 11,015
  • 21
  • 88
  • 181
-1
votes
1 answer

Aggregation based date vertex to get label from different vertex

g.addV('l1'). property(id, 12347). property('submit_time', new Date('Wed May14 10:00:00 PDT 2019')). addV('l1'). property(id, 4522323). property('submit_time', new Date('Wed May15 11:00:00 PDT 2019')). addV('l1'). …
roma_user
  • 31
  • 2
-1
votes
1 answer

Should I declare GryoMapper as a static field?

Looked at the following code, it appears to be thread-safe. https://github.com/apache/tinkerpop/blob/master/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/gryo/GryoMapper.java Hoping to use it like class Foo { private…
u07103
  • 287
  • 1
  • 4
  • 14
-4
votes
1 answer

How can I get all the file names under one folder using gremlin?

How can I get all the file names under one file folder? and foreach all the file names? using gremlin command
Jeff
  • 117
  • 10
1 2 3
48
49