public interface FirestoreRpc extends AutoCloseable, com.google.cloud.ServiceRpc
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.ServerStreamingCallable<BatchGetDocumentsRequest,BatchGetDocumentsResponse> |
batchGetDocumentsCallable()
Gets multiple documents.
|
com.google.api.gax.rpc.UnaryCallable<BatchWriteRequest,BatchWriteResponse> |
batchWriteCallable() |
com.google.api.gax.rpc.UnaryCallable<BeginTransactionRequest,BeginTransactionResponse> |
beginTransactionCallable()
Starts a new transaction.
|
com.google.api.gax.rpc.UnaryCallable<CommitRequest,CommitResponse> |
commitCallable()
Commits a transaction, while optionally updating documents.
|
ScheduledExecutorService |
getExecutor()
Returns the executor used by the GAPIC client.
|
com.google.api.gax.rpc.UnaryCallable<ListCollectionIdsRequest,FirestoreClient.ListCollectionIdsPagedResponse> |
listCollectionIdsPagedCallable()
Returns a list of collections IDs.
|
com.google.api.gax.rpc.UnaryCallable<ListDocumentsRequest,FirestoreClient.ListDocumentsPagedResponse> |
listDocumentsPagedCallable()
Returns a list of documents.
|
com.google.api.gax.rpc.BidiStreamingCallable<ListenRequest,ListenResponse> |
listenCallable()
Returns a bi-directional watch stream.
|
com.google.api.gax.rpc.UnaryCallable<PartitionQueryRequest,FirestoreClient.PartitionQueryPagedResponse> |
partitionQueryPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<RollbackRequest,com.google.protobuf.Empty> |
rollbackCallable()
Rolls back a transaction.
|
com.google.api.gax.rpc.ServerStreamingCallable<RunAggregationQueryRequest,RunAggregationQueryResponse> |
runAggregationQueryCallable()
Runs an aggregation query.
|
com.google.api.gax.rpc.ServerStreamingCallable<RunQueryRequest,RunQueryResponse> |
runQueryCallable()
Runs a query.
|
void |
shutdown() |
void |
shutdownNow() |
close
com.google.api.gax.rpc.UnaryCallable<CommitRequest,CommitResponse> commitCallable()
com.google.api.gax.rpc.UnaryCallable<BatchWriteRequest,BatchWriteResponse> batchWriteCallable()
com.google.api.gax.rpc.ServerStreamingCallable<BatchGetDocumentsRequest,BatchGetDocumentsResponse> batchGetDocumentsCallable()
ScheduledExecutorService getExecutor()
com.google.api.gax.rpc.ServerStreamingCallable<RunQueryRequest,RunQueryResponse> runQueryCallable()
com.google.api.gax.rpc.ServerStreamingCallable<RunAggregationQueryRequest,RunAggregationQueryResponse> runAggregationQueryCallable()
com.google.api.gax.rpc.UnaryCallable<BeginTransactionRequest,BeginTransactionResponse> beginTransactionCallable()
com.google.api.gax.rpc.UnaryCallable<RollbackRequest,com.google.protobuf.Empty> rollbackCallable()
com.google.api.gax.rpc.UnaryCallable<ListCollectionIdsRequest,FirestoreClient.ListCollectionIdsPagedResponse> listCollectionIdsPagedCallable()
com.google.api.gax.rpc.UnaryCallable<PartitionQueryRequest,FirestoreClient.PartitionQueryPagedResponse> partitionQueryPagedCallable()
com.google.api.gax.rpc.UnaryCallable<ListDocumentsRequest,FirestoreClient.ListDocumentsPagedResponse> listDocumentsPagedCallable()
com.google.api.gax.rpc.BidiStreamingCallable<ListenRequest,ListenResponse> listenCallable()
void shutdownNow()
void shutdown()
Copyright © 2023 Google LLC. All rights reserved.