public interface DatastoreRpc extends ServiceRpc
Modifier and Type | Method and Description |
---|---|
com.google.datastore.v1.AllocateIdsResponse |
allocateIds(com.google.datastore.v1.AllocateIdsRequest request)
Sends an allocate IDs request.
|
com.google.datastore.v1.BeginTransactionResponse |
beginTransaction(com.google.datastore.v1.BeginTransactionRequest request)
Sends a begin transaction request.
|
com.google.datastore.v1.CommitResponse |
commit(com.google.datastore.v1.CommitRequest request)
Sends a commit request.
|
com.google.datastore.v1.LookupResponse |
lookup(com.google.datastore.v1.LookupRequest request)
Sends a lookup request.
|
com.google.datastore.v1.RollbackResponse |
rollback(com.google.datastore.v1.RollbackRequest request)
Sends a rollback request.
|
com.google.datastore.v1.RunQueryResponse |
runQuery(com.google.datastore.v1.RunQueryRequest request)
Sends a request to run a query.
|
com.google.datastore.v1.AllocateIdsResponse allocateIds(com.google.datastore.v1.AllocateIdsRequest request)
DatastoreException
- upon failurecom.google.datastore.v1.BeginTransactionResponse beginTransaction(com.google.datastore.v1.BeginTransactionRequest request) throws DatastoreException
DatastoreException
- upon failurecom.google.datastore.v1.CommitResponse commit(com.google.datastore.v1.CommitRequest request)
DatastoreException
- upon failurecom.google.datastore.v1.LookupResponse lookup(com.google.datastore.v1.LookupRequest request)
DatastoreException
- upon failurecom.google.datastore.v1.RollbackResponse rollback(com.google.datastore.v1.RollbackRequest request)
DatastoreException
- upon failurecom.google.datastore.v1.RunQueryResponse runQuery(com.google.datastore.v1.RunQueryRequest request)
DatastoreException
- upon failureCopyright © 2019 Google LLC. All rights reserved.