public class GrpcBigQueryStorageStub extends BigQueryStorageStub
gRPC stub implementation for the BigQueryStorage service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcBigQueryStorageStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcBigQueryStorageStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(BigQueryStorageStubSettings settings)
public static final GrpcBigQueryStorageStub create(BigQueryStorageStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcBigQueryStorageStub(BigQueryStorageStubSettings settings, ClientContext clientContext)
protected GrpcBigQueryStorageStub(BigQueryStorageStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcBigQueryStorageStub, 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
GrpcBigQueryStorageStub(BigQueryStorageStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcBigQueryStorageStub(BigQueryStorageStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcBigQueryStorageStub, 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
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
batchCreateReadSessionStreamsCallable()
public UnaryCallable<Storage.BatchCreateReadSessionStreamsRequest,Storage.BatchCreateReadSessionStreamsResponse> batchCreateReadSessionStreamsCallable()
Returns
Overrides
close()
public final void close()
Overrides
createReadSessionCallable()
public UnaryCallable<Storage.CreateReadSessionRequest,Storage.ReadSession> createReadSessionCallable()
Returns
Overrides
finalizeStreamCallable()
public UnaryCallable<Storage.FinalizeStreamRequest,Empty> finalizeStreamCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
readRowsCallable()
public ServerStreamingCallable<Storage.ReadRowsRequest,Storage.ReadRowsResponse> readRowsCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
splitReadStreamCallable()
public UnaryCallable<Storage.SplitReadStreamRequest,Storage.SplitReadStreamResponse> splitReadStreamCallable()
Returns
Overrides