public class Datastore extends Object
This class is thread-safe.
Modifier and Type | Method and Description |
---|---|
AllocateIdsResponse |
allocateIds(AllocateIdsRequest request) |
BeginTransactionResponse |
beginTransaction(BeginTransactionRequest request) |
CommitResponse |
commit(CommitRequest request) |
int |
getRpcCount()
Returns the number of RPC calls made since the client was created or
resetRpcCount() was
called. |
LookupResponse |
lookup(LookupRequest request) |
ReserveIdsResponse |
reserveIds(ReserveIdsRequest request) |
void |
resetRpcCount()
Reset the RPC count.
|
RollbackResponse |
rollback(RollbackRequest request) |
RunAggregationQueryResponse |
runAggregationQuery(RunAggregationQueryRequest request) |
RunQueryResponse |
runQuery(RunQueryRequest request) |
public void resetRpcCount()
public int getRpcCount()
resetRpcCount()
was
called.public AllocateIdsResponse allocateIds(AllocateIdsRequest request) throws DatastoreException
DatastoreException
public BeginTransactionResponse beginTransaction(BeginTransactionRequest request) throws DatastoreException
DatastoreException
public CommitResponse commit(CommitRequest request) throws DatastoreException
DatastoreException
public LookupResponse lookup(LookupRequest request) throws DatastoreException
DatastoreException
public ReserveIdsResponse reserveIds(ReserveIdsRequest request) throws DatastoreException
DatastoreException
public RollbackResponse rollback(RollbackRequest request) throws DatastoreException
DatastoreException
public RunQueryResponse runQuery(RunQueryRequest request) throws DatastoreException
DatastoreException
public RunAggregationQueryResponse runAggregationQuery(RunAggregationQueryRequest request) throws DatastoreException
DatastoreException
Copyright © 2023 Google LLC. All rights reserved.