public static class FakeBigQueryServices.FakeBigQueryServerStream<T> extends java.lang.Object implements BigQueryServices.BigQueryServerStream<T>
BigQueryServerStream which takes a List as the Iterable to simulate a server stream. #FakeBigQueryServerStream is a no-op.| Constructor and Description |
|---|
FakeBigQueryServerStream(java.util.List<T> items) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the stream, releasing any client- and server-side resources.
|
java.util.Iterator<T> |
iterator() |
public FakeBigQueryServerStream(java.util.List<T> items)
public java.util.Iterator<T> iterator()
iterator in interface java.lang.Iterable<T>public void cancel()
BigQueryServices.BigQueryServerStreamcancel in interface BigQueryServices.BigQueryServerStream<T>