public static final class BigQueryWriteGrpc.BigQueryWriteFutureStub extends io.grpc.stub.AbstractFutureStub<BigQueryWriteGrpc.BigQueryWriteFutureStub>
BigQuery Write API. The Write API can be used to write data to BigQuery.
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<BatchCommitWriteStreamsResponse> |
batchCommitWriteStreams(BatchCommitWriteStreamsRequest request)
Atomically commits a group of `PENDING` streams that belong to the same
`parent` table.
|
protected BigQueryWriteGrpc.BigQueryWriteFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<WriteStream> |
createWriteStream(CreateWriteStreamRequest request)
Creates a write stream to the given table.
|
com.google.common.util.concurrent.ListenableFuture<FinalizeWriteStreamResponse> |
finalizeWriteStream(FinalizeWriteStreamRequest request)
Finalize a write stream so that no new data can be appended to the
stream.
|
com.google.common.util.concurrent.ListenableFuture<FlushRowsResponse> |
flushRows(FlushRowsRequest request)
Flushes rows to a BUFFERED stream.
|
com.google.common.util.concurrent.ListenableFuture<WriteStream> |
getWriteStream(GetWriteStreamRequest request)
Gets a write stream.
|
protected BigQueryWriteGrpc.BigQueryWriteFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<BigQueryWriteGrpc.BigQueryWriteFutureStub>public com.google.common.util.concurrent.ListenableFuture<WriteStream> createWriteStream(CreateWriteStreamRequest request)
Creates a write stream to the given table. Additionally, every table has a special COMMITTED stream named '_default' to which data can be written. This stream doesn't need to be created using CreateWriteStream. It is a stream that can be used simultaneously by any number of clients. Data written to this stream is considered committed as soon as an acknowledgement is received.
public com.google.common.util.concurrent.ListenableFuture<WriteStream> getWriteStream(GetWriteStreamRequest request)
Gets a write stream.
public com.google.common.util.concurrent.ListenableFuture<FinalizeWriteStreamResponse> finalizeWriteStream(FinalizeWriteStreamRequest request)
Finalize a write stream so that no new data can be appended to the stream. Finalize is not supported on the '_default' stream.
public com.google.common.util.concurrent.ListenableFuture<BatchCommitWriteStreamsResponse> batchCommitWriteStreams(BatchCommitWriteStreamsRequest request)
Atomically commits a group of `PENDING` streams that belong to the same `parent` table. Streams must be finalized before commit and cannot be committed multiple times. Once a stream is committed, data in the stream becomes available for read operations.
public com.google.common.util.concurrent.ListenableFuture<FlushRowsResponse> flushRows(FlushRowsRequest request)
Flushes rows to a BUFFERED stream. If users are appending rows to BUFFERED stream, flush operation is required in order for the rows to become available for reading. A Flush operation flushes up to any previously flushed offset in a BUFFERED stream, to the offset specified in the request. Flush is not supported on the _default stream, since it is not BUFFERED.
Copyright © 2023 Google LLC. All rights reserved.