Package | Description |
---|---|
com.google.cloud.datastore |
A client for Cloud Datastore – A highly-scalable NoSQL database for web and mobile applications.
|
com.google.cloud.datastore.execution |
Modifier and Type | Class and Description |
---|---|
static class |
ReadOption.EventualConsistency
Specifies eventual consistency for reads from Datastore.
|
static class |
ReadOption.ReadTime
Reads entities as they were at the given time.
|
Modifier and Type | Method and Description |
---|---|
static ReadOption |
ReadOption.transactionId(com.google.protobuf.ByteString transactionId)
Returns a
ReadOption that specifies transaction id, allowing Datastore to execute a
Query in this transaction. |
static ReadOption |
ReadOption.transactionId(String transactionId)
Returns a
ReadOption that specifies transaction id, allowing Datastore to execute a
Query in this transaction. |
Modifier and Type | Method and Description |
---|---|
List<ReadOption> |
ReadOption.QueryAndReadOptions.getReadOptions() |
Modifier and Type | Method and Description |
---|---|
List<Entity> |
Datastore.fetch(Iterable<Key> keys,
ReadOption... options)
Returns a list with a value for each given key (ordered by input).
|
Iterator<Entity> |
Datastore.get(Iterable<Key> keys,
ReadOption... options)
|
Entity |
Datastore.get(Key key,
ReadOption... options)
|
<T> QueryResults<T> |
Datastore.run(Query<T> query,
ReadOption... options)
Submits a
Query and returns its result. |
default AggregationResults |
Datastore.runAggregation(AggregationQuery query,
ReadOption... options)
Submits a
AggregationQuery and returns AggregationResults . |
Modifier and Type | Method and Description |
---|---|
static <Q extends Query<?>> |
ReadOption.QueryAndReadOptions.create(Q query,
List<ReadOption> readOptions) |
Optional<ReadOptions> |
ReadOptionProtoPreparer.prepare(List<ReadOption> options) |
Modifier and Type | Method and Description |
---|---|
AggregationResults |
AggregationQueryExecutor.execute(AggregationQuery query,
ReadOption... readOptions) |
OUTPUT |
QueryExecutor.execute(INPUT query,
ReadOption... readOptions) |
Copyright © 2023 Google LLC. All rights reserved.