Package | Description |
---|---|
com.google.cloud.datastore |
A client for Cloud Datastore – A highly-scalable NoSQL database for web and mobile applications.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseEntity<K extends IncompleteKey>
A base class for entities (key and properties).
|
static class |
BaseEntity.Builder<K extends IncompleteKey,B extends BaseEntity.Builder<K,B>> |
class |
FullEntity<K extends IncompleteKey>
A full entity is a
BaseEntity that holds all the properties associated with a Datastore
entity (as opposed to ProjectionEntity ). |
static class |
FullEntity.Builder<K extends IncompleteKey> |
Modifier and Type | Class and Description |
---|---|
class |
Key
A key that is guaranteed to be complete and could be used to reference a Google Cloud Datastore
Entity . |
Modifier and Type | Method and Description |
---|---|
<K extends IncompleteKey> |
BaseEntity.getEntity(String name)
Returns the property value as an entity.
|
static <K extends IncompleteKey> |
FullEntity.newBuilder(FullEntity<K> copyFrom) |
static <K extends IncompleteKey> |
FullEntity.newBuilder(K key) |
Modifier and Type | Method and Description |
---|---|
protected IncompleteKey |
KeyFactory.build() |
IncompleteKey |
IncompleteKey.Builder.build() |
IncompleteKey |
KeyFactory.newKey() |
Modifier and Type | Method and Description |
---|---|
static FullEntity.Builder<IncompleteKey> |
FullEntity.newBuilder() |
protected List<FullEntity<IncompleteKey>> |
BaseDatastoreBatchWriter.toAddAutoId() |
Modifier and Type | Method and Description |
---|---|
List<Key> |
Datastore.allocateId(IncompleteKey... keys)
Returns a list of keys using the allocated ids ordered by the input.
|
Key |
Datastore.allocateId(IncompleteKey key)
Allocate a unique id for the given key.
|
static IncompleteKey.Builder |
IncompleteKey.newBuilder(IncompleteKey copyFrom) |
static Key.Builder |
Key.newBuilder(IncompleteKey copyFrom,
long id) |
static Key.Builder |
Key.newBuilder(IncompleteKey copyFrom,
String name) |
Modifier and Type | Method and Description |
---|---|
static int |
Entity.calculateSerializedSize(BaseEntity<? extends IncompleteKey> entity)
Returns the size in bytes of the protobuf form of the provided entity.
|
Copyright © 2023 Google LLC. All rights reserved.