Class EnhancedBigQueryReadStub
- java.lang.Object
-
- com.google.cloud.bigquery.storage.v1beta2.stub.EnhancedBigQueryReadStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
public class EnhancedBigQueryReadStub extends Object implements com.google.api.gax.core.BackgroundResource
Enhanced stub class for BigQuery Storage API.This class is for advanced usage and reflects the underlying API directly.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanawaitTermination(long duration, TimeUnit unit)voidclose()static EnhancedBigQueryReadStubcreate(EnhancedBigQueryReadStubSettings settings)static EnhancedBigQueryReadStubcreate(EnhancedBigQueryReadStubSettings settings, BigQueryReadSettings.RetryAttemptListener readRowsRetryAttemptListener)com.google.api.gax.rpc.UnaryCallable<CreateReadSessionRequest,ReadSession>createReadSessionCallable()booleanisShutdown()booleanisTerminated()com.google.api.gax.rpc.ServerStreamingCallable<ReadRowsRequest,ReadRowsResponse>readRowsCallable()voidshutdown()voidshutdownNow()com.google.api.gax.rpc.UnaryCallable<SplitReadStreamRequest,SplitReadStreamResponse>splitReadStreamCallable()
-
-
-
Method Detail
-
create
public static EnhancedBigQueryReadStub create(EnhancedBigQueryReadStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static EnhancedBigQueryReadStub create(EnhancedBigQueryReadStubSettings settings, BigQueryReadSettings.RetryAttemptListener readRowsRetryAttemptListener) throws IOException
- Throws:
IOException
-
createReadSessionCallable
public com.google.api.gax.rpc.UnaryCallable<CreateReadSessionRequest,ReadSession> createReadSessionCallable()
-
readRowsCallable
public com.google.api.gax.rpc.ServerStreamingCallable<ReadRowsRequest,ReadRowsResponse> readRowsCallable()
-
splitReadStreamCallable
public com.google.api.gax.rpc.UnaryCallable<SplitReadStreamRequest,SplitReadStreamResponse> splitReadStreamCallable()
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
shutdown
public void shutdown()
- Specified by:
shutdownin interfacecom.google.api.gax.core.BackgroundResource
-
isShutdown
public boolean isShutdown()
- Specified by:
isShutdownin interfacecom.google.api.gax.core.BackgroundResource
-
isTerminated
public boolean isTerminated()
- Specified by:
isTerminatedin interfacecom.google.api.gax.core.BackgroundResource
-
shutdownNow
public void shutdownNow()
- Specified by:
shutdownNowin interfacecom.google.api.gax.core.BackgroundResource
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Specified by:
awaitTerminationin interfacecom.google.api.gax.core.BackgroundResource- Throws:
InterruptedException
-
-