Class GrpcBigQueryWriteStub (3.5.2)

public class GrpcBigQueryWriteStub extends BigQueryWriteStub

Deprecated. This class is deprecated and will be removed in the next major version update.

gRPC stub implementation for the BigQueryWrite service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > BigQueryWriteStub > GrpcBigQueryWriteStub

Static Methods

create(ClientContext clientContext) (deprecated)

public static final GrpcBigQueryWriteStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcBigQueryWriteStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) (deprecated)

public static final GrpcBigQueryWriteStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcBigQueryWriteStub
Exceptions
Type Description
IOException

create(BigQueryWriteStubSettings settings) (deprecated)

public static final GrpcBigQueryWriteStub create(BigQueryWriteStubSettings settings)
Parameter
Name Description
settings BigQueryWriteStubSettings
Returns
Type Description
GrpcBigQueryWriteStub
Exceptions
Type Description
IOException

Constructors

GrpcBigQueryWriteStub(BigQueryWriteStubSettings settings, ClientContext clientContext) (deprecated)

protected GrpcBigQueryWriteStub(BigQueryWriteStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcBigQueryWriteStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings BigQueryWriteStubSettings
clientContext ClientContext

GrpcBigQueryWriteStub(BigQueryWriteStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) (deprecated)

protected GrpcBigQueryWriteStub(BigQueryWriteStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcBigQueryWriteStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings BigQueryWriteStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

appendRowsCallable() (deprecated)

public BidiStreamingCallable<AppendRowsRequest,AppendRowsResponse> appendRowsCallable()
Returns
Type Description
BidiStreamingCallable<AppendRowsRequest,AppendRowsResponse>
Overrides

awaitTermination(long duration, TimeUnit unit) (deprecated)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

batchCommitWriteStreamsCallable() (deprecated)

public UnaryCallable<BatchCommitWriteStreamsRequest,BatchCommitWriteStreamsResponse> batchCommitWriteStreamsCallable()
Returns
Type Description
UnaryCallable<BatchCommitWriteStreamsRequest,BatchCommitWriteStreamsResponse>
Overrides

close() (deprecated)

public final void close()
Overrides

createWriteStreamCallable() (deprecated)

public UnaryCallable<CreateWriteStreamRequest,WriteStream> createWriteStreamCallable()
Returns
Type Description
UnaryCallable<CreateWriteStreamRequest,WriteStream>
Overrides

finalizeWriteStreamCallable() (deprecated)

public UnaryCallable<FinalizeWriteStreamRequest,FinalizeWriteStreamResponse> finalizeWriteStreamCallable()
Returns
Type Description
UnaryCallable<FinalizeWriteStreamRequest,FinalizeWriteStreamResponse>
Overrides

flushRowsCallable() (deprecated)

public UnaryCallable<FlushRowsRequest,FlushRowsResponse> flushRowsCallable()
Returns
Type Description
UnaryCallable<FlushRowsRequest,FlushRowsResponse>
Overrides

getOperationsStub() (deprecated)

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

getWriteStreamCallable() (deprecated)

public UnaryCallable<GetWriteStreamRequest,WriteStream> getWriteStreamCallable()
Returns
Type Description
UnaryCallable<GetWriteStreamRequest,WriteStream>
Overrides

isShutdown() (deprecated)

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated() (deprecated)

public boolean isTerminated()
Returns
Type Description
boolean

shutdown() (deprecated)

public void shutdown()

shutdownNow() (deprecated)

public void shutdownNow()