Skip to main content

google_cloud_bigquery/
write.rs

1// Copyright 2026 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     https://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15pub use append_future::AppendFuture;
16
17pub use buffered::BufferedWriter;
18pub use committed::CommittedWriter;
19pub use default::DefaultWriter;
20pub use pending::PendingWriter;
21
22/// Defines the data formats accepted by a writer.
23pub mod format;
24
25/// Defines the retry policy for the BigQuery Storage Write API.
26pub mod retry_policy;
27
28pub mod stream_type;
29
30pub(super) mod append_future;
31pub(super) mod append_response;
32pub(super) mod builder;
33pub(super) mod client;
34pub(super) mod client_builder;
35pub(super) mod error;
36pub(super) mod writer_builder;
37
38mod base;
39mod buffered;
40mod committed;
41mod default;
42mod dispatcher;
43mod entry;
44mod optimizer;
45mod pending;
46mod pool;
47mod proto_schema;
48mod runner;
49mod stream;
50mod transport;
51mod validate;
52
53// TODO(#4832) - remove handwritten code.
54mod status;
55
56#[allow(dead_code)]
57pub(crate) mod generated;
58
59#[cfg(test)]
60mod test;