siva pasupuleti
siva pasupuleti
ATApache TinkerPop
Created by siva pasupuleti on 4/25/2023 in #questions
How to to get total count for pagination with gremlin query using java Apache thinker pop
thanks for your help @spmallette, I added your code in my IDE but it's showing local cannot be resolved to a variable.
12 replies
ATApache TinkerPop
Created by siva pasupuleti on 4/25/2023 in #questions
How to to get total count for pagination with gremlin query using java Apache thinker pop
@spmallette Thanks for your reply, currently to retrieve the data from Janus db I'm using the below query, once I got a response from the graph traversal source, I will map this response into the java dto object. List<Map<Object, Object>> node = g.V().has("name", name).has("type", P.within(typeList)).has("system", P.within(systemList )) .local(.properties().group().by(.key()).by(__.value())).skip(0).limit(10).toList(); so, here is how can we get the total count of records for the pagination, tried many ways to get the total count from the graph traversal source but had no luck. Can you please tell me which modification is needed to get a total count of records? thanks.
12 replies
ATApache TinkerPop
Created by siva pasupuleti on 4/25/2023 in #questions
How to to get total count for pagination with gremlin query using java Apache thinker pop
@Kelvin Lawrence I'm using Janus db
12 replies