AndreiHarpa
AndreiHarpa
ATApache TinkerPop
Created by AndreiHarpa on 3/21/2023 in #questions
Subgraph query returns String instead of TinkerGraph Object in Fluent Java API
@datastaxgraph Your help would be much appreciated.
12 replies
ATApache TinkerPop
Created by AndreiHarpa on 3/21/2023 in #questions
Subgraph query returns String instead of TinkerGraph Object in Fluent Java API
I was also reading this section: https://tinkerpop.apache.org/docs/3.5.2/reference/#connecting-gremlin-server-limitations Is GraphBinary serialization configuration on the server side a possible fix?
12 replies
ATApache TinkerPop
Created by AndreiHarpa on 3/21/2023 in #questions
Subgraph query returns String instead of TinkerGraph Object in Fluent Java API
This is my pom.xml <dependency> <groupId>com.datastax.oss</groupId> <artifactId>java-driver-query-builder</artifactId> <version>${dse.driver.version}</version> </dependency> <dependency> <groupId>com.datastax.oss</groupId> <artifactId>java-driver-mapper-runtime</artifactId> <version>${dse.driver.version}</version> </dependency> <dependency> <groupId>org.apache.tinkerpop</groupId> <artifactId>gremlin-core</artifactId> <version>${tinkerpop.version}</version> </dependency> <dependency> <groupId>org.apache.tinkerpop</groupId> <artifactId>tinkergraph-gremlin</artifactId> <version>${tinkerpop.version}</version> </dependency>
12 replies
ATApache TinkerPop
Created by AndreiHarpa on 3/21/2023 in #questions
Subgraph query returns String instead of TinkerGraph Object in Fluent Java API
3.6.2. I have tried downgrading to 3.5 but same
12 replies
ATApache TinkerPop
Created by AndreiHarpa on 3/21/2023 in #questions
Subgraph query returns String instead of TinkerGraph Object in Fluent Java API
Understood. On the client(Java app) this is my configuration; @Bean public CqlSession cqlSession () { return CqlSession.builder() .addContactPoint(new InetSocketAddress(host, port)) .withLocalDatacenter(dcName) .withAuthCredentials(userName, password) .withKeyspace(keyspace) .build(); } @Bean public GraphTraversalSource graphTraversalSource(CqlSession cqlSession) { return AnonymousTraversalSource.traversal().withRemote(DseGraph.remoteConnectionBuilder(cqlSession) .withExecutionProfile(cqlSession.getContext().getConfig().getDefaultProfile() .withString(DseDriverOption.GRAPH_NAME, keyspace)).build()); }
12 replies
ATApache TinkerPop
Created by AndreiHarpa on 3/21/2023 in #questions
Subgraph query returns String instead of TinkerGraph Object in Fluent Java API
HI @spmallette Thank you for your suggestion. Unfortunately I am getting the same behaviour. I am running a Cassandra DSE with Graph. I have updated the server configuration based on the information from this doc: https://docs.datastax.com/en/dse/6.8/dse-admin/datastax_enterprise/config/configRemoteYaml.html#DSGGremlinbasicoptions
12 replies