public abstract static class StreamWriter.SingleConnectionOrConnectionPool extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StreamWriter.SingleConnectionOrConnectionPool.Kind
Kind of connection operation mode.
|
| Constructor and Description |
|---|
SingleConnectionOrConnectionPool() |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.core.ApiFuture<AppendRowsResponse> |
append(StreamWriter streamWriter,
ProtoRows protoRows,
long offset) |
void |
close(StreamWriter streamWriter) |
abstract com.google.cloud.bigquery.storage.v1.ConnectionWorker |
connectionWorker() |
abstract ConnectionWorkerPool |
connectionWorkerPool() |
abstract StreamWriter.SingleConnectionOrConnectionPool.Kind |
getKind() |
static StreamWriter.SingleConnectionOrConnectionPool |
ofConnectionPool(ConnectionWorkerPool connectionPool) |
static StreamWriter.SingleConnectionOrConnectionPool |
ofSingleConnection(com.google.cloud.bigquery.storage.v1.ConnectionWorker connection) |
public abstract StreamWriter.SingleConnectionOrConnectionPool.Kind getKind()
public abstract com.google.cloud.bigquery.storage.v1.ConnectionWorker connectionWorker()
public abstract ConnectionWorkerPool connectionWorkerPool()
public com.google.api.core.ApiFuture<AppendRowsResponse> append(StreamWriter streamWriter, ProtoRows protoRows, long offset)
public void close(StreamWriter streamWriter)
public static StreamWriter.SingleConnectionOrConnectionPool ofSingleConnection(com.google.cloud.bigquery.storage.v1.ConnectionWorker connection)
public static StreamWriter.SingleConnectionOrConnectionPool ofConnectionPool(ConnectionWorkerPool connectionPool)
Copyright © 2023 Google LLC. All rights reserved.