Questions tagged [datastax-enterprise-graph]

DataStax Enterprise Graph is a scalable, enterprise-ready graph database.

DataStax Enterprise Graph is a scalable, enterprise-ready graph database capable of storing and querying graphs with billions of elements while providing enterprise features such as security, monitoring, advanced management, encryption and 24/7 support.

213 questions
2
votes
2 answers

How to remove cyclic vertex list from list of outer vertexes

I am new in dse graph, I want to create gremlin query which gives me list of all vertex which is linked from specified vertex but from this list I want to remove those list which are linked cyclic. e.g. A --> B A --> C A --> D B --> A If I have…
user3812269
  • 319
  • 2
  • 3
  • 10
2
votes
2 answers

How to return a Vertex in the tinkerpop/gremlin format instead of the DSE graph format?

I am trying to return a Vertex (in tinkerpop format) that it was just created with Gremlin: DseCluster dseCluster = DseCluster.builder() .addContactPoint(DbC.dseHost) .build(); DseSession dseSession =…
Michail Michailidis
  • 11,792
  • 6
  • 63
  • 106
2
votes
1 answer

Is executeGraph() really needed in DSE 5.0 Graph with Java?

It seems that in both approaches the vertex is stored and can be retrieved properly later. Common configuration: DseCluster dseCluster = DseCluster.builder() .addContactPoint("192.168.1.43") .build(); DseSession dseSession =…
2
votes
2 answers

how to query by vertex id in Datastax DSE 5.0 Graph in a concise way?

It seems that the unique id for vertices is community_id in DSE Graph. I have found that this works (id is long) : v = g.V().has("VertexLabel","community_id",id).next() none of those work: v = g.V("community_id",id).next() v =…
Michail Michailidis
  • 11,792
  • 6
  • 63
  • 106
2
votes
1 answer

What guarantees are provided by DSE Graph transactions?

DSE Graph supports the Gremlin transaction API , and the docs have some information about transaction-specific options that can be set using the schema config API. The docs don't seem to have a lot of information yet on what a transaction "means",…
2
votes
1 answer

DSE Graph: traversals that use both secondary and search indexes, why do they hang?

It seems that gremlin traversals which use both secondary and search indexes in the same traversal hang. Why is that? My understanding from the DSE Graph docs on indexing is that the most appropriate index for low-cardinality properties is a…
2
votes
1 answer

Mixing CQL and Gremlin in one transaction

I have a need to write a log entry (time-series/journal) entry within the context of a transaction of Gremlin mutations in DSE 5.0. Preferably to a separate Cassandra table (a bit of CQL I suppose). I understand that DSE provides some optimizations…
2
votes
0 answers

Streaming all nodes from DSE Graph using Gremlin

I am using DataStax Enterprise Graph and would like to stream all nodes from the graph database to my app using Gremlin. Note: I'm communicating with Gremlin server via a WebSocket using sessions for persistent variables. To do so without pulling…
david_p
  • 5,722
  • 1
  • 32
  • 26
2
votes
1 answer

Can vertices in DSE/DataStax graph be represented as key value

I have three questions on DSE graph: Can DSE graph vertices be represented as key,value entities. If yes what is the key and what will be the value? Is there a concept of primary key/index in DSE graph for vertex? If yes how to create that? Is…
sunillp
  • 983
  • 3
  • 13
  • 31
2
votes
1 answer

DSE Graph with Java Driver, how to add edges

I want to build a graph completely with the Datastax Java Driver. I managed to insert vertices, but I have no clue how to add edges to existing vertices. When I run the following code session.executeGraph("parent =…
1
vote
1 answer

DSE Authenticate Spark AlwaysOn SQL

I've installed DSE (Cassandra + Search + Graph + Analytics) on a single for dev purposes and I'm not able to connect to the AlwaysOn SQL, it's enabled on dse.yaml file but I'm not sure how to set access /…
1
vote
1 answer

DSE Can't Install Graph From LCM

I've installed fresh version of DSE 6.8 for dev purposes, after installing a cluster with one node (Cassandra + Solr) I want to allow Graph, the job keeps failing with error: Graph is enabled and should have native-transport-address set to 0.0.0.0.…
1
vote
0 answers

Testing and Mocking ScalaGraph with gremlin

I have a Service class that i am trying to unit test. The service class is as follows -: class BtoService @Inject()(db: GrDbConnection, businessService: BusinessService, vertexIdGenerator:…
1
vote
1 answer

Adding a new vertex and an edge to an existing vertex in Datastax CassandraCSharpDriver.Graph but get edge OUT error

I'm adding a new vertex and an edge to an existing vertex in Datastax Graph, and I wanted to see how to do that with Datastax CassandraCSharpDriver.Graph. The working Gremlin code looks like this: Vertex link1 = graph.addVertex(label,…
Robert Corvus
  • 2,054
  • 23
  • 30
1
vote
1 answer

gremlin - show query execution time

How do you show the query execution time for a gremlin query while running it a console such as Datastax Studio? I tried clockWithResult(100) { myquery } But I get an error saying "cannot convert from int to Supplier"
Robert Corvus
  • 2,054
  • 23
  • 30
1 2
3
14 15