I have a result of a query to graphDB which returns GraphTraversal<Vertex, Map<Object, List>> values. By using the default methods values.iterate().toStream() it should return a Stream of Stream<Map<Object, List>> which I can handle as a Java8 stream, but for some reason, it does not work, repeat, by using the default methods from gemlin API to get the stream.
Note: By using a while I can iterate over it, that's fine, but I need to do some more complex operations that will be simplified by using Java8 Streams, but, as I said, is not working, even using tinkerpop default methods. Any idea?
There are no errors, but the stream is empty for some reason.