@Generated(value="by gapic-generator-java")
See: Description
| Interface | Description |
|---|---|
| BigQueryReadSettings.RetryAttemptListener | |
| StreamConnection.DoneCallback |
Invoked when server closes the connection.
|
| StreamConnection.RequestCallback |
Invoked when a response is received from the server.
|
| Class | Description |
|---|---|
| BaseBigQueryReadClient |
Service Description: BigQuery Read API.
|
| BaseBigQueryReadSettings |
Settings class to configure an instance of
BaseBigQueryReadClient. |
| BaseBigQueryReadSettings.Builder |
Builder for BaseBigQueryReadSettings.
|
| BigDecimalByteStringEncoder | |
| BigQueryReadClient |
Service Description: BigQuery Read API.
|
| BigQueryReadSettings |
Settings class to configure an instance of
BigQueryReadClient. |
| BigQueryReadSettings.Builder |
Builder for BigQueryReadSettings.
|
| BigQuerySchemaUtil | |
| BigQueryWriteClient |
Service Description: BigQuery Write API.
|
| BigQueryWriteSettings |
Settings class to configure an instance of
BigQueryWriteClient. |
| BigQueryWriteSettings.Builder |
Builder for BigQueryWriteSettings.
|
| BQTableSchemaToProtoDescriptor |
Converts a BQ table schema to protobuf descriptor.
|
| CivilTimeEncoder |
Ported from ZetaSQL CivilTimeEncoder Original code can be found at:
https://github.com/google/zetasql/blob/master/java/com/google/zetasql/CivilTimeEncoder.java
Encoder for TIME and DATETIME values, according to civil_time encoding.
|
| ConnectionWorkerPool |
Pool of connections to accept appends and distirbute to different connections.
|
| ConnectionWorkerPool.Settings |
Settings for connection pool.
|
| ConnectionWorkerPool.Settings.Builder |
Builder for the options to config
ConnectionWorkerPool. |
| Exceptions |
Exceptions for Storage Client Libraries.
|
| JsonStreamWriter |
A StreamWriter that can write JSON data (JSONObjects) to BigQuery tables.
|
| JsonStreamWriter.Builder | |
| JsonToProtoMessage |
Converts Json data to protocol buffer messages given the protocol buffer descriptor.
|
| ProtoSchemaConverter | |
| StreamConnection |
StreamConnection is responsible for writing requests to a GRPC bidirecional connection.
|
| StreamWriter |
A BigQuery Stream Writer that can be used to write data into BigQuery Table.
|
| StreamWriter.Builder |
A builder of
StreamWriters. |
| StreamWriter.SingleConnectionOrConnectionPool |
When in single table mode, append directly to connectionWorker.
|
| Enum | Description |
|---|---|
| StreamWriter.SingleConnectionOrConnectionPool.Kind |
Kind of connection operation mode.
|
| Exception | Description |
|---|---|
| Exceptions.AppendSerializtionError |
This exception is thrown from
JsonStreamWriter#append() when the client side Json to
Proto serializtion fails. |
| Exceptions.FieldParseError |
This exception is used internally to handle field level parsing errors.
|
| Exceptions.InflightBytesLimitExceededException | |
| Exceptions.InflightLimitExceededException |
If FlowController.LimitExceededBehavior is set to Block and inflight limit is exceeded, this
exception will be thrown.
|
| Exceptions.InflightRequestsLimitExceededException | |
| Exceptions.JsonDataHasUnknownFieldException |
Input Json data has unknown field to the schema of the JsonStreamWriter.
|
| Exceptions.OffsetAlreadyExists |
Offset already exists.
|
| Exceptions.OffsetOutOfRange |
Offset out of range.
|
| Exceptions.SchemaMismatchedException |
There was a schema mismatch due to bigquery table with fewer fields than the input message.
|
| Exceptions.StorageException |
Main Storage Exception.
|
| Exceptions.StreamFinalizedException |
The write stream has already been finalized and will not accept further appends or flushes.
|
| Exceptions.StreamNotFound |
The stream is not found.
|
| Exceptions.StreamWriterClosedException |
This writer instance has either been closed by the user explicitly, or has encountered
non-retriable errors.
|
======================= BaseBigQueryReadClient =======================
Service Description: BigQuery Read API.
The Read API can be used to read data from BigQuery.
Sample for BaseBigQueryReadClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (BaseBigQueryReadClient baseBigQueryReadClient = BaseBigQueryReadClient.create()) {
ProjectName parent = ProjectName.of("[PROJECT]");
ReadSession readSession = ReadSession.newBuilder().build();
int maxStreamCount = 940837515;
ReadSession response =
baseBigQueryReadClient.createReadSession(parent, readSession, maxStreamCount);
}
======================= BigQueryWriteClient =======================
Service Description: BigQuery Write API.
The Write API can be used to write data to BigQuery.
For supplementary information about the Write API, see: https://cloud.google.com/bigquery/docs/write-api
Sample for BigQueryWriteClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (BigQueryWriteClient bigQueryWriteClient = BigQueryWriteClient.create()) {
TableName parent = TableName.of("[PROJECT]", "[DATASET]", "[TABLE]");
WriteStream writeStream = WriteStream.newBuilder().build();
WriteStream response = bigQueryWriteClient.createWriteStream(parent, writeStream);
}
Copyright © 2023 Google LLC. All rights reserved.