Git Product home page Git Product logo

Comments (9)

freemo avatar freemo commented on June 14, 2024 1

from ferma.

nachogarrone avatar nachogarrone commented on June 14, 2024

did you find any solution?

from ferma.

sascha08-15 avatar sascha08-15 commented on June 14, 2024

Would be interested to know if that ever happened or if we have to use Gremlin directly when using Neptune.

from ferma.

freemo avatar freemo commented on June 14, 2024

Hey, sorry I missed this, going to catchup on FERMA updates and get a new version out soon. Havent tested on Neptune but since FERMA just translates everything to gremlin anyway its hard to see why it wouldnt work. Have you tried it?

from ferma.

spmallette avatar spmallette commented on June 14, 2024

I think the issue is that Ferma needs a Graph instance to work and since that instance for a "remote" graph is technically an EmptyGraph instance, Ferma has some trouble. A similar question was posted on the Ferma "Getting Started" page:

http://syncleus.com/Ferma/getting_started/

from ferma.

syncleus-bot avatar syncleus-bot commented on June 14, 2024

from ferma.

spmallette avatar spmallette commented on June 14, 2024

In DelegatingFramedGraph it uses the structure API of Graph.addVertex():

return frameNewElement(this.getBaseGraph().addVertex(keyValues), initializer);

for mutations so I think that's perhaps where there is a problem as EmptyGraph has no method implementations...it's just a placeholder:

https://github.com/apache/tinkerpop/blob/0971b2b3992cc079d1d0affac5c1f6dafe7aa7b6/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/empty/EmptyGraph.java

For remote connections (and even for embedded cases) users really only interact by way of Gremlin through the GraphTraversalSource. There are likely other issues with remote use cases as well like:

https://tinkerpop.apache.org/docs/current/reference/#_properties_of_elements

though I hope TinkerPop can change that in the future - i believe there was some community discussion for it already. anyway, definitely a few tricks to sort out to make this work for remote cases, though there seems to be demand for it as some users seem to really like OGM-style development.

from ferma.

freemo avatar freemo commented on June 14, 2024

from ferma.

spmallette avatar spmallette commented on June 14, 2024

thanks, i'd be curious as to what you run into. if you can itemize what you find as being troublesome, perhaps i can help brainstorm workarounds and/or help propose changes in TinkerPop to help smooth the path to get this all working nicely. i sense we've hit on the main trouble spots though at this point: (1) needing to use Gremlin as opposed to the Graph API and related (2) properties on elements.

from ferma.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.