public class HttpDatastoreRpc extends Object implements DatastoreRpc
Constructor and Description |
---|
HttpDatastoreRpc(DatastoreOptions options) |
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.
|
RollbackResponse |
rollback(RollbackRequest request)
Sends a rollback request.
|
RunQueryResponse |
runQuery(RunQueryRequest request)
Sends a request to run a query.
|
public HttpDatastoreRpc(DatastoreOptions options)
public AllocateIdsResponse allocateIds(AllocateIdsRequest request)
DatastoreRpc
allocateIds
in interface DatastoreRpc
public BeginTransactionResponse beginTransaction(BeginTransactionRequest request)
DatastoreRpc
beginTransaction
in interface DatastoreRpc
public CommitResponse commit(CommitRequest request)
DatastoreRpc
commit
in interface DatastoreRpc
public LookupResponse lookup(LookupRequest request)
DatastoreRpc
lookup
in interface DatastoreRpc
public RollbackResponse rollback(RollbackRequest request)
DatastoreRpc
rollback
in interface DatastoreRpc
public RunQueryResponse runQuery(RunQueryRequest request)
DatastoreRpc
runQuery
in interface DatastoreRpc
Copyright © 2019 Google LLC. All rights reserved.