austinjb32
ATApache TinkerPop
•Created by austinjb32 on 2/28/2024 in #questions
how to connect the amothic/neptune container to the volume?
I need to know which directory needs to attach to containeer. so that the data is stored safely. even after a restart.
4 replies
ATApache TinkerPop
•Created by austinjb32 on 2/20/2024 in #questions
Is there any open source version of data visualizer for aws neptune?
Is there any open source version of data visualizer for aws neptune. I'll need it since it essential for me for using neptune for small scale purposes. I have used g.V(), and it was perfect for my use case. But because of budget constraints. Can;t offered it. Any solutions?
4 replies
ATApache TinkerPop
•Created by austinjb32 on 2/12/2024 in #questions
How will i add unique values to the vertices or edge properties in Neptune
I can't get a doc regarding adding unique data through gremlin. Is there any way to do it, other than the preset unqiue which is available only in field id
5 replies
ATApache TinkerPop
•Created by austinjb32 on 2/9/2024 in #questions
Not getting result in hasId() but id().is() works
I don't get any response using g.V().hasId(48). But when i use g.V().id().is(48). it shows output. So, how will i use hasId(). I'm a beginner. I don;t have much idea in it
4 replies
ATApache TinkerPop
•Created by austinjb32 on 2/9/2024 in #questions
I can't create an edge in aws neptune using gremlin. I can create vertices. but not edge.
import { driver, process as gremlinProcess, structure } from "gremlin";
async function checkOut() {
const DriverRemoteConnection = driver.DriverRemoteConnection;
const Graph = structure.Graph;
const dc = new DriverRemoteConnection(
ws://localhost:7070/gremlin
, {
sloppy: true,
rejectUnauthorized: false,
});
const traversal = gremlinProcess.AnonymousTraversalSource.traversal();
const _ = gremlinProcess.traversal();
const graph = new Graph();
const g = graph.traversal().withRemote(dc);
const v1 = await g.addV("person").property("name", "main").next();
const v2 = await g.addV("person").property("name", "male").next();
const data = await g.addE("wrote").from(g.V(v1.value.id)).to(g.V(11)).next();
g.V()
.toList()
.then((data) => {
console.log("DATA", data);
dc.close();
})
.catch((error) => {
console.log("ERROR", error);
dc.close();
});
}
checkOut();4 replies