public class GrpcBigQueryWriteStub extends BigQueryWriteStub
gRPC stub implementation for the BigQueryWrite service API.
This class is for advanced usage and reflects the underlying API directly.
Inherited Members
Static Methods
create(ClientContext clientContext)
public static final GrpcBigQueryWriteStub create(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Type | Description |
GrpcBigQueryWriteStub |
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcBigQueryWriteStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Name | Description |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Type | Description |
GrpcBigQueryWriteStub |
Type | Description |
IOException |
create(BigQueryWriteStubSettings settings)
public static final GrpcBigQueryWriteStub create(BigQueryWriteStubSettings settings)
Name | Description |
settings | BigQueryWriteStubSettings |
Type | Description |
GrpcBigQueryWriteStub |
Type | Description |
IOException |
Constructors
GrpcBigQueryWriteStub(BigQueryWriteStubSettings settings, ClientContext clientContext)
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.
Name | Description |
settings | BigQueryWriteStubSettings |
clientContext | ClientContext |
GrpcBigQueryWriteStub(BigQueryWriteStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
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.
Name | Description |
settings | BigQueryWriteStubSettings |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Methods
appendRowsCallable()
public BidiStreamingCallable<AppendRowsRequest,AppendRowsResponse> appendRowsCallable()
Type | Description |
BidiStreamingCallable<AppendRowsRequest,AppendRowsResponse> |
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Type | Description |
boolean |
Type | Description |
InterruptedException |
batchCommitWriteStreamsCallable()
public UnaryCallable<BatchCommitWriteStreamsRequest,BatchCommitWriteStreamsResponse> batchCommitWriteStreamsCallable()
close()
public final void close()
createWriteStreamCallable()
public UnaryCallable<CreateWriteStreamRequest,WriteStream> createWriteStreamCallable()
Type | Description |
UnaryCallable<CreateWriteStreamRequest,WriteStream> |
finalizeWriteStreamCallable()
public UnaryCallable<FinalizeWriteStreamRequest,FinalizeWriteStreamResponse> finalizeWriteStreamCallable()
Type | Description |
UnaryCallable<FinalizeWriteStreamRequest,FinalizeWriteStreamResponse> |
flushRowsCallable()
public UnaryCallable<FlushRowsRequest,FlushRowsResponse> flushRowsCallable()
Type | Description |
UnaryCallable<FlushRowsRequest,FlushRowsResponse> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Type | Description |
GrpcOperationsStub |
getWriteStreamCallable()
public UnaryCallable<GetWriteStreamRequest,WriteStream> getWriteStreamCallable()
Type | Description |
UnaryCallable<GetWriteStreamRequest,WriteStream> |
isShutdown()
public boolean isShutdown()
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Type | Description |
boolean |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()