public static final class DatastoreGrpc.DatastoreFutureStub extends io.grpc.stub.AbstractStub<DatastoreGrpc.DatastoreFutureStub>
Each RPC normalizes the partition IDs of the keys in its input entities, and always returns entities with keys with normalized partition IDs. This applies to all keys and entities, including those in values, except keys with both an empty path and an empty or unset partition ID. Normalization of input keys sets the project ID (if not already set) to the project ID from the request.
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<AllocateIdsResponse> |
allocateIds(AllocateIdsRequest request)
Allocates IDs for the given keys, which is useful for referencing an entity
before it is inserted.
|
com.google.common.util.concurrent.ListenableFuture<BeginTransactionResponse> |
beginTransaction(BeginTransactionRequest request)
Begins a new transaction.
|
protected DatastoreGrpc.DatastoreFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<CommitResponse> |
commit(CommitRequest request)
Commits a transaction, optionally creating, deleting or modifying some
entities.
|
com.google.common.util.concurrent.ListenableFuture<LookupResponse> |
lookup(LookupRequest request)
Looks up entities by key.
|
com.google.common.util.concurrent.ListenableFuture<ReserveIdsResponse> |
reserveIds(ReserveIdsRequest request)
Prevents the supplied keys' IDs from being auto-allocated by Cloud
Datastore.
|
com.google.common.util.concurrent.ListenableFuture<RollbackResponse> |
rollback(RollbackRequest request)
Rolls back a transaction.
|
com.google.common.util.concurrent.ListenableFuture<RunQueryResponse> |
runQuery(RunQueryRequest request)
Queries for entities.
|
protected DatastoreGrpc.DatastoreFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<DatastoreGrpc.DatastoreFutureStub>
public com.google.common.util.concurrent.ListenableFuture<LookupResponse> lookup(LookupRequest request)
Looks up entities by key.
public com.google.common.util.concurrent.ListenableFuture<RunQueryResponse> runQuery(RunQueryRequest request)
Queries for entities.
public com.google.common.util.concurrent.ListenableFuture<BeginTransactionResponse> beginTransaction(BeginTransactionRequest request)
Begins a new transaction.
public com.google.common.util.concurrent.ListenableFuture<CommitResponse> commit(CommitRequest request)
Commits a transaction, optionally creating, deleting or modifying some entities.
public com.google.common.util.concurrent.ListenableFuture<RollbackResponse> rollback(RollbackRequest request)
Rolls back a transaction.
public com.google.common.util.concurrent.ListenableFuture<AllocateIdsResponse> allocateIds(AllocateIdsRequest request)
Allocates IDs for the given keys, which is useful for referencing an entity before it is inserted.
public com.google.common.util.concurrent.ListenableFuture<ReserveIdsResponse> reserveIds(ReserveIdsRequest request)
Prevents the supplied keys' IDs from being auto-allocated by Cloud Datastore.