Package | Description |
---|---|
org.apache.tinkerpop.gremlin.driver |
Modifier and Type | Method and Description |
---|---|
Result |
ResultSet.one()
Get the next
Result from the stream, blocking until one is available. |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<List<Result>> |
ResultSet.all()
The returned
CompletableFuture completes when all reads are complete for this request and the
entire result has been accounted for on the client. |
Iterator<Result> |
ResultSet.iterator()
Returns a blocking iterator of the items streaming from the server to the client.
|
CompletableFuture<List<Result>> |
ResultSet.some(int items)
The returned
CompletableFuture completes when the number of items specified are available. |
Stream<Result> |
ResultSet.stream()
Stream items with a blocking iterator.
|
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.