Package | Description |
---|---|
com.google.datastore.v1.client |
Modifier and Type | Class and Description |
---|---|
class |
DatastoreEmulator
An extension to
Datastore that provides lifecycle management for a datastore emulator. |
Modifier and Type | Method and Description |
---|---|
Datastore |
DatastoreFactory.create(DatastoreOptions options)
Provides access to a datastore using the provided options.
|
static Datastore |
DatastoreHelper.getDatastoreFromEnv() |
Modifier and Type | Method and Description |
---|---|
List<Query> |
QuerySplitter.getSplits(Query query,
PartitionId partition,
int numSplits,
Datastore datastore)
Returns a list of sharded
Query s for the given query. |
default List<Query> |
QuerySplitter.getSplits(Query query,
PartitionId partition,
int numSplits,
Datastore datastore,
com.google.protobuf.Timestamp readTime)
Same as
QuerySplitter.getSplits(Query, PartitionId, int, Datastore) but the splits are based on
readTime , and the returned sharded Query s should also be executed with readTime . |
Copyright © 2023 Google LLC. All rights reserved.