Class BigQueryWriteGrpc.BigQueryWriteBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<BigQueryWriteGrpc.BigQueryWriteBlockingV2Stub>
com.google.cloud.bigquery.storage.v1beta2.BigQueryWriteGrpc.BigQueryWriteBlockingV2Stub
- Enclosing class:
- BigQueryWriteGrpc
@Deprecated
public static final class BigQueryWriteGrpc.BigQueryWriteBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<BigQueryWriteGrpc.BigQueryWriteBlockingV2Stub>
Deprecated.
A stub to allow clients to do synchronous rpc calls to service BigQueryWrite.
BigQuery Write API. The Write API can be used to write data to BigQuery. The [google.cloud.bigquery.storage.v1 API](/bigquery/docs/reference/storage/rpc/google.cloud.bigquery.storage.v1) should be used instead of the v1beta2 API for BigQueryWrite operations.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionio.grpc.stub.BlockingClientCall<AppendRowsRequest,AppendRowsResponse> Deprecated.Deprecated.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Deprecated.Deprecated.Deprecated.flushRows(FlushRowsRequest request) Deprecated.getWriteStream(GetWriteStreamRequest request) Deprecated.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected BigQueryWriteGrpc.BigQueryWriteBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Deprecated.- Specified by:
buildin classio.grpc.stub.AbstractStub<BigQueryWriteGrpc.BigQueryWriteBlockingV2Stub>
-
createWriteStream
Deprecated.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.
-
appendRows
@Deprecated @ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<AppendRowsRequest,AppendRowsResponse> appendRows()Deprecated.Appends data to the given stream. If `offset` is specified, the `offset` is checked against the end of stream. The server returns `OUT_OF_RANGE` in `AppendRowsResponse` if an attempt is made to append to an offset beyond the current end of the stream or `ALREADY_EXISTS` if user provids an `offset` that has already been written to. User can retry with adjusted offset within the same RPC stream. If `offset` is not specified, append happens at the end of the stream. The response contains the offset at which the append happened. Responses are received in the same order in which requests are sent. There will be one response for each successful request. If the `offset` is not set in response, it means append didn't happen due to some errors. If one request fails, all the subsequent requests will also fail until a success request is made again. If the stream is of `PENDING` type, data will only be available for read operations after the stream is committed.
-
getWriteStream
Deprecated.Gets a write stream.
-
finalizeWriteStream
@Deprecated public FinalizeWriteStreamResponse finalizeWriteStream(FinalizeWriteStreamRequest request) Deprecated.Finalize a write stream so that no new data can be appended to the stream. Finalize is not supported on the '_default' stream.
-
batchCommitWriteStreams
@Deprecated public BatchCommitWriteStreamsResponse batchCommitWriteStreams(BatchCommitWriteStreamsRequest request) Deprecated.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.
-
flushRows
Deprecated.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.
-