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