@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcBigQueryStorageStub extends BigQueryStorageStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcBigQueryStorageStub(BigQueryStorageStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcBigQueryStorageStub, using the given settings.
|
protected |
GrpcBigQueryStorageStub(BigQueryStorageStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcBigQueryStorageStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
UnaryCallable<com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest,com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse> |
batchCreateReadSessionStreamsCallable() |
void |
close() |
static GrpcBigQueryStorageStub |
create(BigQueryStorageStubSettings settings) |
static GrpcBigQueryStorageStub |
create(ClientContext clientContext) |
static GrpcBigQueryStorageStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
UnaryCallable<com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest,com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession> |
createReadSessionCallable() |
UnaryCallable<com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest,Empty> |
finalizeStreamCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
ServerStreamingCallable<com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest,com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse> |
readRowsCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest,com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse> |
splitReadStreamCallable() |
protected GrpcBigQueryStorageStub(BigQueryStorageStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcBigQueryStorageStub(BigQueryStorageStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcBigQueryStorageStub create(BigQueryStorageStubSettings settings) throws IOException
IOException
public static final GrpcBigQueryStorageStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcBigQueryStorageStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public UnaryCallable<com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest,com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession> createReadSessionCallable()
createReadSessionCallable
in class BigQueryStorageStub
public ServerStreamingCallable<com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest,com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse> readRowsCallable()
readRowsCallable
in class BigQueryStorageStub
public UnaryCallable<com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest,com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse> batchCreateReadSessionStreamsCallable()
batchCreateReadSessionStreamsCallable
in class BigQueryStorageStub
public UnaryCallable<com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest,Empty> finalizeStreamCallable()
finalizeStreamCallable
in class BigQueryStorageStub
public UnaryCallable<com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest,com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse> splitReadStreamCallable()
splitReadStreamCallable
in class BigQueryStorageStub
public final void close()
close
in interface AutoCloseable
close
in class BigQueryStorageStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.