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.v1.ReadSession |
createReadSession(com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest request)
Create a new read session against an existing table.
|
BigQueryServices.BigQueryServerStream<com.google.cloud.bigquery.storage.v1.ReadRowsResponse> |
readRows(com.google.cloud.bigquery.storage.v1.ReadRowsRequest request)
Read rows in the context of a specific read stream.
|
BigQueryServices.BigQueryServerStream<com.google.cloud.bigquery.storage.v1.ReadRowsResponse> |
readRows(com.google.cloud.bigquery.storage.v1.ReadRowsRequest request,
java.lang.String fullTableId) |
com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse |
splitReadStream(com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest request) |
com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse |
splitReadStream(com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest request,
java.lang.String fullTableId) |
com.google.cloud.bigquery.storage.v1.ReadSession createReadSession(com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest request)
BigQueryServices.BigQueryServerStream<com.google.cloud.bigquery.storage.v1.ReadRowsResponse> readRows(com.google.cloud.bigquery.storage.v1.ReadRowsRequest request)
BigQueryServices.BigQueryServerStream<com.google.cloud.bigquery.storage.v1.ReadRowsResponse> readRows(com.google.cloud.bigquery.storage.v1.ReadRowsRequest request, java.lang.String fullTableId)
com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse splitReadStream(com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest request)
com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse splitReadStream(com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest request, java.lang.String fullTableId)
void close()
The override is required since AutoCloseable
allows the close method to raise an
exception.
close
in interface java.lang.AutoCloseable