Uses of Class
com.google.cloud.datastore.Key
Packages that use Key
Package
Description
A client for Cloud Datastore – A highly-scalable NoSQL database for web and mobile applications.
-
Uses of Key in com.google.cloud.datastore
Fields in com.google.cloud.datastore with type parameters of type KeyMethods in com.google.cloud.datastore that return KeyModifier and TypeMethodDescriptionDatastore.allocateId(IncompleteKey key) Allocate a unique id for the given key.Key.Builder.build()static KeyKey.fromUrlSafe(String urlSafe) Create aKeygiven its URL safe encoded form.Returns the property value as a Key.IncompleteKey.getParent()Returns the key's parent.KeyFactory.newKey(long id) Methods in com.google.cloud.datastore that return types with arguments of type KeyModifier and TypeMethodDescriptionDatastore.allocateId(IncompleteKey... keys) Returns a list of keys using the allocated ids ordered by the input.Batch.Response.getGeneratedKeys()Returns a list of keys generated by a batch.Transaction.Response.getGeneratedKeys()Returns a list of keys generated by a transaction.Datastore.reserveIds(Key... keys) Reserve one or more keys, preventing them from being automatically allocated by Datastore.protected Map<Key,FullEntity<Key>> BaseDatastoreBatchWriter.toAdd()protected Map<Key,FullEntity<Key>> BaseDatastoreBatchWriter.toAdd()BaseDatastoreBatchWriter.toDelete()protected Map<Key,FullEntity<Key>> BaseDatastoreBatchWriter.toPut()protected Map<Key,FullEntity<Key>> BaseDatastoreBatchWriter.toPut()protected Map<Key,FullEntity<Key>> BaseDatastoreBatchWriter.toUpdate()protected Map<Key,FullEntity<Key>> BaseDatastoreBatchWriter.toUpdate()Methods in com.google.cloud.datastore with parameters of type KeyModifier and TypeMethodDescriptionGqlQuery.Builder.addBinding(Key... value) Sets a new positional binding.Adds the providedKeyvalues to theListValuebuilder.final voidvoidA datastore delete operation.voidA datastore delete operation.voidA datastore delete operation.voidA datastore delete operation.Returns a list with a value for each given key (ordered by input).Returns a list with a value for each given key (ordered by input).Datastore.get(Key key, ReadOption... options) StructuredQuery.PropertyFilter.hasAncestor(Key key) static Entity.BuilderEntity.newBuilder(Key key) static Entity.BuilderEntity.newBuilder(Key key, FullEntity<?> copyFrom) static IncompleteKey.BuilderIncompleteKey.newBuilder(Key parent, String kind) static Key.BuilderKey.newBuilder(Key copyFrom) static Key.BuilderKey.newBuilder(Key parent, String kind, long id) static Key.BuilderKey.newBuilder(Key parent, String kind, String name) static KeyValue.BuilderKeyValue.newBuilder(Key key) static KeyValuestatic ListValueCreates aListValueobject given a number ofKeyvalues.Datastore.reserveIds(Key... keys) Reserve one or more keys, preventing them from being automatically allocated by Datastore.Sets a property of typeKeyValue.Sets a list property containing elements of typeKeyValue.GqlQuery.Builder.setBinding(String name, Key... value) Sets a new named binding.Method parameters in com.google.cloud.datastore with type arguments of type KeyModifier and TypeMethodDescriptionDatastore.fetch(Iterable<Key> keys, ReadOption... options) Returns a list with a value for each given key (ordered by input).Datastore.get(Iterable<Key> keys, ReadOption... options) Constructors in com.google.cloud.datastore with parameters of type Key