orientdb-gremlin | TinkerPop3 Graph Structure Implementation for OrientDB | Graph Database library
kandi X-RAY | orientdb-gremlin Summary
kandi X-RAY | orientdb-gremlin Summary
TinkerPop3 Graph Structure Implementation for OrientDB
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Installs a custom graph
- Open a database
- Opens an OrientStandardGraph using the given configuration
- Creates a list iterator for the given index
- Returns an iterator over properties with the specified keys
- Gets the metadata document
- Creates a list iterator that iterates over the wrapped list
- Generate the graph
- Create a new OrientGraph
- Finds all indexed keys
- Finds the labels in the HasContainers
- Used to write the given ORecId to the JsonGenerator instance
- Map a metric
- Authenticated user
- Wrap the given value
- Returns the result as a GroovyResult
- Executes the given function
- Close the graph
- Configure the GREMLIN
- Returns the next result
- Replace a specific strategy
- Transforms an element
- Applies the traversal
- Add an edge to the graph
- Start the gremlin server
- Performs the traversal
orientdb-gremlin Key Features
orientdb-gremlin Examples and Code Snippets
Community Discussions
Trending Discussions on orientdb-gremlin
QUESTION
I am trying to understand if it is possible to have user supplied vertex ids?
I found this, but I am inexperienced in Java so I can't really understand this for sure. https://github.com/orientechnologies/orientdb-gremlin/blob/master/driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/OrientGraph.java#L177
For JanusGraph there is graph.set-vertex-id=true
, but is there similar for OrientDb? Or with Tinkergraph gremlin.tinkergraph.vertexIdManager=ANY
ANSWER
Answered 2019-Apr-05 at 01:30OrientDb do not support user supplied vertex id, as you can tell it from the code: https://github.com/orientechnologies/orientdb-gremlin/blob/master/driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/OrientGraph.java#L182
QUESTION
I noticed by looking at the java source code of the orientdb-gremlin library that it seems to be only a wrapper that gets the gremlin commands and translates into orientdb SQL queries.
I am trying to use gremlin with orientdb in javascript (NodeJs) and for that I am using the gremlin
js library. I can connect fine to the gremlin server (I'm using the one shipped with OrientDB 3.0.14) but I could not yet make transactions work for two reasons:
1) gremlin
js library does not have the tx() method in the Graph object.
2) I thought: "I can add it there, but let me see first in gremlin console if OrientDB supports opening a transaction from gremlin server". So trying from the gremlin console does not seem to work either (remember that I don't want to use the orientdb-gremlin
plugin as in javascript I won't be able to use it):
ANSWER
Answered 2019-Feb-12 at 12:00Assuming orientdb-gremlin
supports g.tx()
(really graph.tx()
which is called by g.tx()
- i.e. the Graph
instance needs to support it) then the only way you use transaction from javascript would be if you submitted string-based scripts to Gremlin Server and did so via session. I think that's potentially why you're not seeing isOpen()
return true
as you've connected to the server in a sessionless fashion - you can change that by doing:
QUESTION
I start my Gremlin NEO4J like this
...ANSWER
Answered 2018-Jun-24 at 05:26what I understood to see the configurations that you are using a very old version of orientdb
use orientdb-gremlin 3.0.2
in the latest version they embedded gremlin with orientdb and for download dependencies use this ./gremlin-server.sh -i com.orientechnologies orientdb-gremlin 3.0.2
based on more information from OP, added
QUESTION
what is the best API for Orient to Java for 3.0 snapshot?and how do I 1. connect 2. execute CRUD 3. execute native queries (SQL/Javascript).
Started with orientdb-gremlin but not yet upto speed, so wanted to check with community.
Thanks Hari
...ANSWER
Answered 2017-May-09 at 09:49This is an example of db connection and execution of an SQL query:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install orientdb-gremlin
You can use orientdb-gremlin like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the orientdb-gremlin component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page