public interface StreamingOperation<T> extends Iterable<T>, Iterator<T>
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancels the operation and cleans up the underlying network connection
|
List<T> |
getAll()
Retrieve all elements from the operation and return them in a List
|
String |
getContinuation()
Get the continuation value
|
boolean |
hasContinuation()
If this is a paginated operation, a "continuation" value may be available
|
List<T> getAll()
IOException
- if a network error occursvoid cancel()
boolean hasContinuation()
String getContinuation()
Copyright © 2013. All Rights Reserved.