@Experimental(value=SOURCE_SINK) public static interface BigQueryServices.StorageClient extends java.lang.AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the client object.
|
com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession |
createReadSession(com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest request)
Create a new read session against an existing table.
|
java.lang.Iterable<com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse> |
readRows(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest request)
Read rows in the context of a specific read stream.
|
com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession createReadSession(com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest request)
java.lang.Iterable<com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse> readRows(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest request)
void close()
The override is required since AutoCloseable
allows the close method to raise an
exception.
close
in interface java.lang.AutoCloseable