This repository was archived by the owner on Feb 24, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6161import org .threeten .bp .Duration ;
6262
6363/**
64- * DEPRECATED: A BigQuery Stream Writer that can be used to write data into BigQuery Table. You
65- * should use StreamWriterV2 for forwarding supportability.
66- *
67- * <p>This is to be used to managed streaming write when you are working with PENDING streams or
68- * want to explicitly manage offset. In that most common cases when writing with COMMITTED stream
69- * without offset, please use a simpler writer {@code DirectWriter}.
64+ * This is to be used to managed streaming write when you are working with PENDING streams or want
65+ * to explicitly manage offset. In that most common cases when writing with COMMITTED stream without
66+ * offset, please use a simpler writer {@code DirectWriter}.
7067 *
7168 * <p>A {@link StreamWrier} provides built-in capabilities to: handle batching of messages;
7269 * controlling memory utilization (through flow control) and request cleanup (only keeps write
8178 *
8279 * <p>{@link StreamWriter} will use the credentials set on the channel, which uses application
8380 * default credentials through {@link GoogleCredentials#getApplicationDefault} by default.
81+ *
82+ * @deprecated use {@link #StreamWriterV2()} instead.
8483 */
84+ @ Deprecated
8585public class StreamWriter implements AutoCloseable {
8686 private static final Logger LOG = Logger .getLogger (StreamWriter .class .getName ());
8787
You can’t perform that action at this time.
0 commit comments