Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Commit b27fd2e

Browse files
committed
.
1 parent b33ea5f commit b27fd2e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

  • google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2

google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamWriter.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,9 @@
6161
import 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
@@ -81,7 +78,10 @@
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
8585
public class StreamWriter implements AutoCloseable {
8686
private static final Logger LOG = Logger.getLogger(StreamWriter.class.getName());
8787

0 commit comments

Comments
 (0)