public interface DatastoreRpc
extends com.google.cloud.ServiceRpc
Modifier and Type | Method and Description |
---|---|
AllocateIdsResponse |
allocateIds(AllocateIdsRequest request)
Sends an allocate IDs request.
|
BeginTransactionResponse |
beginTransaction(BeginTransactionRequest request)
Sends a begin transaction request.
|
CommitResponse |
commit(CommitRequest request)
Sends a commit request.
|
LookupResponse |
lookup(LookupRequest request)
Sends a lookup request.
|
ReserveIdsResponse |
reserveIds(ReserveIdsRequest request)
Sends a reserveIds request.
|
RollbackResponse |
rollback(RollbackRequest request)
Sends a rollback request.
|
default RunAggregationQueryResponse |
runAggregationQuery(RunAggregationQueryRequest request)
Sends a request to run an aggregation query.
|
RunQueryResponse |
runQuery(RunQueryRequest request)
Sends a request to run a query.
|
AllocateIdsResponse allocateIds(AllocateIdsRequest request)
DatastoreException
- upon failureBeginTransactionResponse beginTransaction(BeginTransactionRequest request) throws DatastoreException
DatastoreException
- upon failureCommitResponse commit(CommitRequest request)
DatastoreException
- upon failureLookupResponse lookup(LookupRequest request)
DatastoreException
- upon failureReserveIdsResponse reserveIds(ReserveIdsRequest request)
DatastoreException
- upon failureRollbackResponse rollback(RollbackRequest request)
DatastoreException
- upon failureRunQueryResponse runQuery(RunQueryRequest request)
DatastoreException
- upon failuredefault RunAggregationQueryResponse runAggregationQuery(RunAggregationQueryRequest request)
DatastoreException
- upon failureCopyright © 2023 Google LLC. All rights reserved.