| Package | Description | 
|---|---|
| org.apache.tinkerpop.gremlin.driver | 
| Modifier and Type | Method and Description | 
|---|---|
| Result | ResultSet. one()Get the next  Resultfrom the stream, blocking until one is available. | 
| Modifier and Type | Method and Description | 
|---|---|
| CompletableFuture<List<Result>> | ResultSet. all()The returned  CompletableFuturecompletes 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  CompletableFuturecompletes 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.