public class EnhancedBigQueryReadStub extends Object implements com.google.api.gax.core.BackgroundResource
This class is for advanced usage and reflects the underlying API directly.
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static EnhancedBigQueryReadStub |
create(EnhancedBigQueryReadStubSettings settings) |
static EnhancedBigQueryReadStub |
create(EnhancedBigQueryReadStubSettings settings,
BigQueryReadSettings.RetryAttemptListener readRowsRetryAttemptListener) |
com.google.api.gax.rpc.UnaryCallable<CreateReadSessionRequest,ReadSession> |
createReadSessionCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.ServerStreamingCallable<ReadRowsRequest,ReadRowsResponse> |
readRowsCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<SplitReadStreamRequest,SplitReadStreamResponse> |
splitReadStreamCallable() |
public static EnhancedBigQueryReadStub create(EnhancedBigQueryReadStubSettings settings) throws IOException
IOExceptionpublic static EnhancedBigQueryReadStub create(EnhancedBigQueryReadStubSettings settings, BigQueryReadSettings.RetryAttemptListener readRowsRetryAttemptListener) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallable<CreateReadSessionRequest,ReadSession> createReadSessionCallable()
public com.google.api.gax.rpc.ServerStreamingCallable<ReadRowsRequest,ReadRowsResponse> readRowsCallable()
public com.google.api.gax.rpc.UnaryCallable<SplitReadStreamRequest,SplitReadStreamResponse> splitReadStreamCallable()
public void close()
close in interface AutoCloseablepublic void shutdown()
shutdown in interface com.google.api.gax.core.BackgroundResourcepublic boolean isShutdown()
isShutdown in interface com.google.api.gax.core.BackgroundResourcepublic boolean isTerminated()
isTerminated in interface com.google.api.gax.core.BackgroundResourcepublic void shutdownNow()
shutdownNow in interface com.google.api.gax.core.BackgroundResourcepublic boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
awaitTermination in interface com.google.api.gax.core.BackgroundResourceInterruptedExceptionCopyright © 2021 Google LLC. All rights reserved.