A B C D E F G H I J K L M N O P Q R S T U V W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractFilter - Class in com.googlecode.objectify.util
-
Get rid of some boilerplate.
- AbstractFilter() - Constructor for class com.googlecode.objectify.util.AbstractFilter
- AbstractProperty - Class in com.googlecode.objectify.impl
-
Some common behavior of properties
- AbstractProperty(String, Annotation[], Object) - Constructor for class com.googlecode.objectify.impl.AbstractProperty
- add(TranslatorFactory<?, ?>) - Method in class com.googlecode.objectify.impl.translate.Translators
-
Add a new translator to the list.
- add(Key<?>, SessionValue<?>) - Method in class com.googlecode.objectify.impl.Session
-
Add/overwrite a SV.
- add(ObjectifyFactory) - Static method in class com.googlecode.objectify.impl.translate.opt.joda.JodaMoneyTranslators
- add(ObjectifyFactory) - Static method in class com.googlecode.objectify.impl.translate.opt.joda.JodaTimeTranslators
- add(K, V) - Method in class com.googlecode.objectify.util.IdentityMultimapList
-
Adds a value to the set associated with the key.
- add(K, V) - Method in class com.googlecode.objectify.util.MultimapList
-
Adds a value to the set associated with the key.
- addAll(Session) - Method in class com.googlecode.objectify.impl.Session
-
Add all entries in the other session to this one
- addEarly(TranslatorFactory<?, ?>) - Method in class com.googlecode.objectify.impl.translate.Translators
-
Add a new translator to the beginning of the list, before all other translators except other translators that have been added early.
- addIndex(Path, Object) - Method in class com.googlecode.objectify.impl.translate.SaveContext
- addPending(Future<?>) - Static method in class com.googlecode.objectify.cache.PendingFutures
-
Register a pending Future that has a callback.
- addValue(Key<?>, Object) - Method in class com.googlecode.objectify.impl.Session
-
Convenience method
- addWildcardParameters(Class<?>) - Static method in class com.googlecode.objectify.repackaged.gentyref.GenericTypeReflector
-
Returns a type representing the class, with all type parameters the unbound wildcard ("?").
- ads - Variable in class com.googlecode.objectify.impl.QueryEngine
- ads - Variable in class com.googlecode.objectify.impl.WriteEngine
- allocateId(Class<T>) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Allocates a single id from the allocator for the specified kind.
- allocateId(Object, Class<T>) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Allocates a single id from the allocator for the specified kind.
- allocateIdRange(KeyRange) - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- allocateIdRange(KeyRange<T>) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Allocates a user-specified contiguous range of unique IDs, preventing the allocator from giving them out to entities (with autogeneration) or other calls to allocate methods.
- allocateIds(Key, String, long) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- allocateIds(Key, String, long) - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- allocateIds(Class<T>, long) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Preallocate a contiguous range of unique ids within the namespace of the specified entity class.
- allocateIds(Object, Class<T>, long) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Preallocate a contiguous range of unique ids within the namespace of the specified entity class and the parent key.
- allocateIds(String, long) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- allocateIds(String, long) - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- alsoLoad() - Method in annotation type com.googlecode.objectify.annotation.Subclass
-
Additional discriminators which, when encountered, will be interpreted as indicating this subclass.
- AlsoLoad - Annotation Type in com.googlecode.objectify.annotation
-
Annotation which helps migrate schemas by loading one of several possible properties in the entity into fields or methods.
- Always - Class in com.googlecode.objectify.condition
-
Simple If condition that always returns true for any value.
- Always() - Constructor for class com.googlecode.objectify.condition.Always
- ancestor(Object) - Method in interface com.googlecode.objectify.cmd.Query
- ancestor(Object) - Method in interface com.googlecode.objectify.cmd.SimpleQuery
-
Restricts result set only to objects which have the given ancestor somewhere in the chain.
- ancestor(Object) - Method in class com.googlecode.objectify.impl.SimpleQueryImpl
- anythingToKey(Object) - Method in class com.googlecode.objectify.impl.Keys
-
Gets the Key
given an object that might be a Key, Key , or entity. - anythingToRawKey(Object) - Method in class com.googlecode.objectify.impl.Keys
-
Gets the raw datstore Key given an object that might be a Key, Key
, or entity. - apply(Result<T>) - Method in class com.googlecode.objectify.util.ResultNowFunction
- apply(Iterable<T>) - Method in class com.googlecode.objectify.util.IterateFunction
- arrayOf(Type) - Static method in class com.googlecode.objectify.repackaged.gentyref.TypeFactory
-
Creates a array type.
- ArrayTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Translator which can load an array of things.
- ArrayTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.ArrayTranslatorFactory
- AsIsTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
This should be near the end of the translation discovery chain.
- AsIsTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.AsIsTranslatorFactory
- AsyncCacheFilter - Class in com.googlecode.objectify.cache
-
This Filter is a companion to the CachingAsyncDatastoreService, and must be installed any time the CachingAsyncDatastoreService is used without Objectify.
- AsyncCacheFilter() - Constructor for class com.googlecode.objectify.cache.AsyncCacheFilter
B
- base - Variable in class com.googlecode.objectify.util.TranslatingIterator
- begin() - Method in class com.googlecode.objectify.ObjectifyFactory
-
This is the beginning of any Objectify session.
- begin() - Static method in class com.googlecode.objectify.ObjectifyService
-
An alternative to run() which is somewhat easier to use with testing (ie, @Before and @After) frameworks.
- beginTransaction() - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- beginTransaction() - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- beginTransaction(TransactionOptions) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- beginTransaction(TransactionOptions) - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- BigDecimalLongTranslatorFactory - Class in com.googlecode.objectify.impl.translate.opt
-
This a simple strategy for storing BigDecimal in the datastore.
- BigDecimalLongTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.opt.BigDecimalLongTranslatorFactory
-
Construct this converter with the default factor (1000), which can store three points of precision past the decimal point.
- BigDecimalLongTranslatorFactory(long) - Constructor for class com.googlecode.objectify.impl.translate.opt.BigDecimalLongTranslatorFactory
-
Construct this with an arbitrary factor.
- BigMoneyStringTranslatorFactory - Class in com.googlecode.objectify.impl.translate.opt.joda
-
Stores BigMoney as its string representation.
- BigMoneyStringTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.opt.joda.BigMoneyStringTranslatorFactory
- BlobKeyDeserializer - Class in com.googlecode.objectify.util.jackson
-
Will deserialize a BlobKey that was serialized with the BlobKeySerializer
- BlobKeyDeserializer() - Constructor for class com.googlecode.objectify.util.jackson.BlobKeyDeserializer
- BlobKeySerializer - Class in com.googlecode.objectify.util.jackson
-
Configuring this serializer will make BlobKey objects render as their web-safe string.
- BlobKeySerializer() - Constructor for class com.googlecode.objectify.util.jackson.BlobKeySerializer
- Bucket(Key) - Constructor for class com.googlecode.objectify.cache.EntityMemcache.Bucket
-
Crate a bucket with an uncacheable key.
- Bucket(Key, MemcacheService.IdentifiableValue) - Constructor for class com.googlecode.objectify.cache.EntityMemcache.Bucket
- byKind - Variable in class com.googlecode.objectify.impl.Registrar
-
This maps kind to EntityMetadata
- ByteArrayTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Translates a byte[] to Blob.
- ByteArrayTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.ByteArrayTranslatorFactory
C
- cache - Variable in class com.googlecode.objectify.impl.ObjectifyImpl
-
Our options
- cache(boolean) - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- cache(boolean) - Method in interface com.googlecode.objectify.Objectify
-
Provides a new Objectify instance which uses (or doesn't use) a 2nd-level memcache.
- Cache - Annotation Type in com.googlecode.objectify.annotation
-
Place this on any POJO entity class to cause it to be cached in the memcache.
- CacheControl - Interface in com.googlecode.objectify.cache
-
Interface by which expiry times for cache entities is communicated to the cache system.
- CacheControlImpl - Class in com.googlecode.objectify.impl
-
Implements CacheControl for Objectify
- CacheControlImpl(ObjectifyFactory) - Constructor for class com.googlecode.objectify.impl.CacheControlImpl
- cacheEnabled - Variable in class com.googlecode.objectify.impl.Registrar
-
True if any @Cached entities have been registered
- CachingAsyncDatastoreService - Class in com.googlecode.objectify.cache
-
A write-through memcache for Entity objects that works for both transactional and nontransactional sessions.
- CachingAsyncDatastoreService(AsyncDatastoreService, EntityMemcache) - Constructor for class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- CachingDatastoreService - Class in com.googlecode.objectify.cache
-
A synchronous facade for the CachingAsyncDatastoreService.
- CachingDatastoreService(DatastoreService, CachingAsyncDatastoreService) - Constructor for class com.googlecode.objectify.cache.CachingDatastoreService
- CachingDatastoreServiceFactory - Class in com.googlecode.objectify.cache
-
A convenience class with factory methods to create caching versions of DatastoreService and AsyncDatastoreService.
- cancel(boolean) - Method in class com.googlecode.objectify.cache.MergeFuture
- cancel(boolean) - Method in class com.googlecode.objectify.cache.TriggerFuture
- cancel(boolean) - Method in class com.googlecode.objectify.util.FutureNow
- capture(ParameterizedType) - Static method in class com.googlecode.objectify.repackaged.gentyref.GenericTypeReflector
-
Applies capture conversion to the given type.
- capture(Type) - Static method in class com.googlecode.objectify.repackaged.gentyref.GenericTypeReflector
-
Applies capture conversion to the given type.
- CaptureType - Interface in com.googlecode.objectify.repackaged.gentyref
-
CaptureType represents a wildcard that has gone through capture conversion.
- chunk(int) - Method in interface com.googlecode.objectify.cmd.Query
- chunk(int) - Method in interface com.googlecode.objectify.cmd.SimpleQuery
-
Sets the internal chunking and prefetching strategy within the low-level API.
- chunk(int) - Method in class com.googlecode.objectify.impl.SimpleQueryImpl
- Chunk<T> - Class in com.googlecode.objectify.impl
-
A single chunk during a query.
- Chunk(Cursor, Iterable<T>) - Constructor for class com.googlecode.objectify.impl.Chunk
- chunkAll() - Method in interface com.googlecode.objectify.cmd.Query
- chunkAll() - Method in interface com.googlecode.objectify.cmd.SimpleQuery
-
Sets the internal chunking and prefetching strategy within the low-level API to attempt to get all results at once.
- chunkAll() - Method in class com.googlecode.objectify.impl.SimpleQueryImpl
- ChunkingIterator<T> - Class in com.googlecode.objectify.impl
-
Base class for normal and hybrid iterators, handles the chunking logic.
- ChunkingIterator(LoadEngine, PreparedQuery, QueryResultIterator<Key<T>>, int) - Constructor for class com.googlecode.objectify.impl.ChunkingIterator
- ChunkIterator<T> - Class in com.googlecode.objectify.impl
-
Splits a QueryResultIterator into a series of chunks which include the Cursor for the beginning of the chunk.
- ChunkIterator(QueryResultIterator<Key<T>>, int, LoadEngine) - Constructor for class com.googlecode.objectify.impl.ChunkIterator
- ClassPopulator<P> - Class in com.googlecode.objectify.impl.translate
-
Used by translators to populate properties between POJO and PropertiesContainer.
- ClassPopulator(Class<P>, CreateContext, Path) - Constructor for class com.googlecode.objectify.impl.translate.ClassPopulator
- ClassTranslator<P> - Class in com.googlecode.objectify.impl.translate
-
Some common code for Translators which know how to convert a POJO type into a PropertiesContainer.
- ClassTranslator(Class<P>, Path, Creator<P>, Populator<P>) - Constructor for class com.googlecode.objectify.impl.translate.ClassTranslator
- ClassTranslatorFactory<P> - Class in com.googlecode.objectify.impl.translate
-
Translator which maps classes, both normal embedded classes and Entity classes.
- ClassTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.ClassTranslatorFactory
- clear() - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- clear() - Method in class com.googlecode.objectify.impl.Session
- clear() - Method in interface com.googlecode.objectify.Objectify
-
Clears the session; all subsequent requests (or Ref>.get() calls) will go to the datastore/memcache to repopulate the session.
- clone() - Method in class com.googlecode.objectify.impl.LoaderImpl
- clone() - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- clone() - Method in class com.googlecode.objectify.impl.QueryImpl
- cloneQuery(Query) - Static method in class com.googlecode.objectify.util.DatastoreUtils
-
Make a new Query object that is exactly like the old.
- close() - Method in interface com.googlecode.objectify.util.Closeable
- Closeable - Interface in com.googlecode.objectify.util
-
Get rid of the stupid checked exception
- CollectionTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Translator which can load things into a collection field.
- CollectionTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.CollectionTranslatorFactory
- com.googlecode.objectify - package com.googlecode.objectify
- com.googlecode.objectify.annotation - package com.googlecode.objectify.annotation
- com.googlecode.objectify.cache - package com.googlecode.objectify.cache
- com.googlecode.objectify.cmd - package com.googlecode.objectify.cmd
- com.googlecode.objectify.condition - package com.googlecode.objectify.condition
- com.googlecode.objectify.impl - package com.googlecode.objectify.impl
- com.googlecode.objectify.impl.ref - package com.googlecode.objectify.impl.ref
- com.googlecode.objectify.impl.translate - package com.googlecode.objectify.impl.translate
- com.googlecode.objectify.impl.translate.opt - package com.googlecode.objectify.impl.translate.opt
- com.googlecode.objectify.impl.translate.opt.joda - package com.googlecode.objectify.impl.translate.opt.joda
- com.googlecode.objectify.mapper - package com.googlecode.objectify.mapper
- com.googlecode.objectify.repackaged.gentyref - package com.googlecode.objectify.repackaged.gentyref
- com.googlecode.objectify.stringifier - package com.googlecode.objectify.stringifier
- com.googlecode.objectify.util - package com.googlecode.objectify.util
- com.googlecode.objectify.util.cmd - package com.googlecode.objectify.util.cmd
- com.googlecode.objectify.util.jackson - package com.googlecode.objectify.util.jackson
- commit() - Method in class com.googlecode.objectify.impl.TransactionImpl
- commit() - Method in class com.googlecode.objectify.util.cmd.TransactionWrapper
- commitAsync() - Method in class com.googlecode.objectify.impl.TransactionImpl
- commitAsync() - Method in class com.googlecode.objectify.util.cmd.TransactionWrapper
- committed() - Method in class com.googlecode.objectify.impl.TransactorYes
-
Called when the associated transaction is committed.
- compareTo(Key<?>) - Method in class com.googlecode.objectify.Key
-
Compares based on comparison of the raw key
- compareTo(Ref<T>) - Method in class com.googlecode.objectify.Ref
-
Comparison is based on key
- complete() - Static method in class com.googlecode.objectify.cache.AsyncCacheFilter
-
Perform the actions that are performed upon normal completion of a request.
- completeAllPendingFutures() - Static method in class com.googlecode.objectify.cache.PendingFutures
-
Iterate through all pending futures and get() them, forcing any callbacks to be called.
- compressionLevel() - Method in annotation type com.googlecode.objectify.annotation.Serialize
-
If zip is true, sets the compression level of the Deflater.
- consistency - Variable in class com.googlecode.objectify.impl.ObjectifyImpl
- consistency(ReadPolicy.Consistency) - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- consistency(ReadPolicy.Consistency) - Method in interface com.googlecode.objectify.Objectify
-
Provides a new Objectify instance with the specified Consistency.
- construct(Path) - Method in class com.googlecode.objectify.impl.translate.Creator
-
Make an instance of the thing
- construct(Class<T>) - Method in interface com.googlecode.objectify.impl.Forge
-
Construct an instance of the specified type.
- construct(Class<T>) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Construct an instance of the specified type.
- constructCollection(Class<T>, int) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Construct a collection of the specified type and the specified size for use on a POJO field.
- constructMap(Class<T>) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Construct a map of the specified type for use on a POJO field.
- Container - Annotation Type in com.googlecode.objectify.annotation
-
Place on one or more fields inside an embedded class.
- ContainerTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Translator factory which lets users create @Container properties.
- ContainerTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.ContainerTranslatorFactory
- contains(Key<?>) - Method in class com.googlecode.objectify.impl.Session
- convertException(Throwable) - Method in class com.googlecode.objectify.util.SimpleFutureWrapper
- count() - Method in interface com.googlecode.objectify.cmd.SimpleQuery
-
Count the total number of values in the result.
- count() - Method in class com.googlecode.objectify.impl.QueryImpl
- create(Key) - Static method in class com.googlecode.objectify.Key
-
Key.create(key) is easier to type than new Key
(key) - create(TypeKey<Number>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.NumberTranslatorFactory
- create(TypeKey<Object>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.ArrayTranslatorFactory
- create(TypeKey<Object>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.AsIsTranslatorFactory
- create(TypeKey<Object>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.ContainerTranslatorFactory
- create(TypeKey<Object>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.SerializeTranslatorFactory
- create(TypeKey<Object>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.TranslateTranslatorFactory
- create(TypeKey<Collection<Object>>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.CollectionTranslatorFactory
- create(TypeKey<Map<Object, Object>>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.EmbeddedMapTranslatorFactory
- create(TypeKey<Map<Object, Object>>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.MapifyTranslatorFactory
- create(TypeKey<P>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.ClassTranslatorFactory
- create(TypeKey<P>, CreateContext, Path) - Method in interface com.googlecode.objectify.impl.translate.TranslatorFactory
-
Create a translator for a type.
- create(TypeKey<P>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.ValueTranslatorFactory
- create(Key<?>, Class<? extends T>, long) - Static method in class com.googlecode.objectify.Key
-
Key.create(parent, Blah.class, id) is easier to type than new Key
(parent, Blah.class, id) - create(Key<?>, Class<? extends T>, String) - Static method in class com.googlecode.objectify.Key
-
Key.create(parent, Blah.class, name) is easier to type than new Key
(parent, Blah.class, name) - create(Key<T>) - Static method in class com.googlecode.objectify.Ref
-
Key.create(Blah.class, id) is easier to type than new Key
(Blah.class, id) - create(Class<? extends T>, long) - Static method in class com.googlecode.objectify.Key
-
Key.create(Blah.class, id) is easier to type than new Key
(Blah.class, id) - create(Class<? extends T>, String) - Static method in class com.googlecode.objectify.Key
-
Key.create(Blah.class, name) is easier to type than new Key
(Blah.class, name) - create(Class<? super S>, Result<S>) - Static method in class com.googlecode.objectify.util.ResultProxy
-
Create a ResultProxy for the given interface.
- create(String) - Static method in class com.googlecode.objectify.Key
-
Key.create(webSafeString) is easier to type than new Key
(webSafeString) - create(Future<S>) - Static method in class com.googlecode.objectify.impl.ResultAdapter
-
Cuts out some typing
- create(T) - Static method in class com.googlecode.objectify.Key
-
Create a key from a registered POJO entity.
- create(T) - Static method in class com.googlecode.objectify.Ref
-
Creates a Ref from a registered pojo entity
- createAsyncDatastoreService() - Method in class com.googlecode.objectify.impl.ObjectifyImpl
-
Make a datastore service config that corresponds to our options.
- createAsyncDatastoreService(DatastoreServiceConfig, boolean) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Get an AsyncDatastoreService facade appropriate to the options.
- CreateContext - Class in com.googlecode.objectify.impl.translate
-
The context while creating translator factories.
- CreateContext(ObjectifyFactory) - Constructor for class com.googlecode.objectify.impl.translate.CreateContext
- createDatastoreServiceConfig() - Method in class com.googlecode.objectify.impl.ObjectifyImpl
-
Make a datastore service config that corresponds to our options.
- createEmbeddedClassTranslator(Class<P>, CreateContext, Path) - Static method in class com.googlecode.objectify.impl.translate.ClassTranslatorFactory
- createEntityClassTranslator(Class<P>, CreateContext, Path) - Static method in class com.googlecode.objectify.impl.translate.ClassTranslatorFactory
- createEntityMemcache() - Method in class com.googlecode.objectify.ObjectifyFactory
-
Override this if you need special behavior from your EntityMemcache
- createIf(Class<? extends If<?, ?>>, Field) - Method in class com.googlecode.objectify.impl.IfConditionGenerator
- createKey(Key, String, Object) - Static method in class com.googlecode.objectify.util.DatastoreUtils
-
Construct a Key from a Long or String id
- createKey(Key<?>, Class<T>, Object) - Static method in class com.googlecode.objectify.util.DatastoreUtils
-
Construct a Key> from a Long or String id
- createKey(Key<?>, String, Object) - Static method in class com.googlecode.objectify.util.DatastoreUtils
-
Construct a Key> from a Long or String id
- createKeys(Key, String, Iterable<?>) - Static method in class com.googlecode.objectify.util.DatastoreUtils
-
Make a list of keys
- createKeys(Key<?>, Class<T>, Iterable<?>) - Static method in class com.googlecode.objectify.util.DatastoreUtils
-
Make a list of Key>s
- createProxy(MemcacheService) - Static method in class com.googlecode.objectify.cache.MemcacheServiceRetryProxy
-
Create the proxy that does retries.
- createProxy(MemcacheService, int) - Static method in class com.googlecode.objectify.cache.MemcacheServiceRetryProxy
-
Create the proxy that does retries.
- createRawAsyncDatastoreService(DatastoreServiceConfig) - Method in class com.googlecode.objectify.ObjectifyFactory
-
You can override this to add behavior at the raw datastoreservice level.
- createValueTranslator(TypeKey<byte[]>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.ByteArrayTranslatorFactory
- createValueTranslator(TypeKey<Text>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.TextTranslatorFactory
- createValueTranslator(TypeKey<Key<?>>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.KeyTranslatorFactory
- createValueTranslator(TypeKey<Ref<?>>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.RefTranslatorFactory
- createValueTranslator(TypeKey<Enum<E>>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.EnumTranslatorFactory
- createValueTranslator(TypeKey<String>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.StringTranslatorFactory
- createValueTranslator(TypeKey<BigDecimal>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.opt.BigDecimalLongTranslatorFactory
- createValueTranslator(TypeKey<URL>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.URLTranslatorFactory
- createValueTranslator(TypeKey<Date>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.SqlDateTranslatorFactory
- createValueTranslator(TypeKey<TimeZone>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.TimeZoneTranslatorFactory
- createValueTranslator(TypeKey<BigMoney>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.opt.joda.BigMoneyStringTranslatorFactory
- createValueTranslator(TypeKey<Money>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.opt.joda.MoneyStringTranslatorFactory
- createValueTranslator(TypeKey<DateTimeZone>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.opt.joda.DateTimeZoneTranslatorFactory
- createValueTranslator(TypeKey<ReadableInstant>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.opt.joda.ReadableInstantTranslatorFactory
- createValueTranslator(TypeKey<ReadablePartial>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.opt.joda.ReadablePartialTranslatorFactory
- createValueTranslator(TypeKey<P>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.ValueTranslatorFactory
-
Create a translator, knowing that we have the appropriate type.
- createWriteEngine() - Method in class com.googlecode.objectify.impl.ObjectifyImpl
-
Use this once for one operation and then throw it away
- Creator<P> - Class in com.googlecode.objectify.impl.translate
-
Factory for POJO and PropertyContainer objects.
- Creator(Class<P>, Forge) - Constructor for class com.googlecode.objectify.impl.translate.Creator
D
- DatastoreIntrospector - Class in com.googlecode.objectify.util
-
Lets us probe for certain datastore capabilities which may vary depending on dev/production/ms/hrd/etc
- DatastoreUtils - Class in com.googlecode.objectify.util
-
Some static utility methods for interacting with basic datastore objects like keys and queries.
- DateTimeZoneTranslatorFactory - Class in com.googlecode.objectify.impl.translate.opt.joda
-
Stores a joda DateTimeZone as its String id.
- DateTimeZoneTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.opt.joda.DateTimeZoneTranslatorFactory
- deadline - Variable in class com.googlecode.objectify.impl.ObjectifyImpl
- deadline(Double) - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- deadline(Double) - Method in interface com.googlecode.objectify.Objectify
-
Provides a new Objectify instance with a limit, in seconds, for datastore calls.
- DeadRef<T> - Class in com.googlecode.objectify.impl.ref
-
Implementation of Ref which is disconnected from the live system; for example, this will be used if a Ref gets serialized or deserialized.
- DeadRef() - Constructor for class com.googlecode.objectify.impl.ref.DeadRef
-
For GWT serialization
- DeadRef(Key<T>) - Constructor for class com.googlecode.objectify.impl.ref.DeadRef
-
Create a Ref based on the key
- DeadRef(Key<T>, T) - Constructor for class com.googlecode.objectify.impl.ref.DeadRef
-
Create a Ref based on the key and value
- DEFAULT_FACTOR - Static variable in class com.googlecode.objectify.impl.translate.opt.BigDecimalLongTranslatorFactory
-
Default factor is 1000, which gives you three digits of precision past the decimal point
- defer() - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- defer() - Method in interface com.googlecode.objectify.Objectify
-
Start a deferred command chain, which lets you make multiple save or delete calls on a single entity without incurring multiple datastore operations.
- defer(Runnable) - Method in class com.googlecode.objectify.impl.translate.LoadContext
-
Delays an operation until the context is done().
- deferDelete(Key<?>) - Method in class com.googlecode.objectify.impl.Deferrer
- Deferred - Interface in com.googlecode.objectify.cmd
-
The top element in the command chain for deferred operations.
- DeferredDeleteIds - Interface in com.googlecode.objectify.cmd
-
Terminator methods for a delete-by-key command chain which constructs the key implicitly from type, id, and (optionally) parent.
- DeferredDeleter - Interface in com.googlecode.objectify.cmd
-
Element in the command chain for deferred deleting entities from the datastore.
- DeferredDeleteType - Interface in com.googlecode.objectify.cmd
-
After a type is specified, the next step in a delete chain is to specify an optional parent or a set of ids.
- DeferredImpl - Class in com.googlecode.objectify.impl
-
Implementation of the Deferrer interface.
- DeferredImpl(ObjectifyImpl<?>) - Constructor for class com.googlecode.objectify.impl.DeferredImpl
- DeferredSaver - Interface in com.googlecode.objectify.cmd
-
Element in the command chain for deferred saving of entities.
- DeferredSaverImpl - Class in com.googlecode.objectify.impl
-
Implementation of the DeferredSaver interface.
- DeferredSaverImpl(ObjectifyImpl<?>) - Constructor for class com.googlecode.objectify.impl.DeferredSaverImpl
- deferrer - Variable in class com.googlecode.objectify.impl.Transactor
-
Any deferred operations
- deferrer - Variable in class com.googlecode.objectify.impl.WriteEngine
- Deferrer - Class in com.googlecode.objectify.impl
-
Manages all the logic of deferring operations
- Deferrer(Objectify, Session) - Constructor for class com.googlecode.objectify.impl.Deferrer
- deferSave(Object) - Method in class com.googlecode.objectify.impl.Deferrer
- delete() - Method in interface com.googlecode.objectify.cmd.Deferred
-
Start a deferred delete command chain.
- delete() - Method in class com.googlecode.objectify.impl.DeferredImpl
- delete() - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- delete() - Method in interface com.googlecode.objectify.Objectify
-
Start a delete command chain.
- delete(Key...) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- delete(Key...) - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- delete(Transaction, Key...) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- delete(Transaction, Key...) - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- delete(Transaction, Iterable<Key>) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- delete(Transaction, Iterable<Key>) - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- delete(Iterable<Key>) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- delete(Iterable<Key>) - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- delete(Iterable<Key>) - Method in class com.googlecode.objectify.impl.WriteEngine
-
The fundamental delete() operation.
- deleteAll(Collection<Key>) - Method in class com.googlecode.objectify.cache.KeyMemcacheService
- DeleteIds - Interface in com.googlecode.objectify.cmd
-
Terminator methods for a delete-by-key command chain which constructs the key implicitly from type, id, and (optionally) parent.
- Deleter - Interface in com.googlecode.objectify.cmd
-
The top element in the command chain for deleting entities from the datastore.
- DeleterImpl - Class in com.googlecode.objectify.impl
-
Implementation of the Delete command.
- DeleterImpl(ObjectifyImpl<?>) - Constructor for class com.googlecode.objectify.impl.DeleterImpl
- DeleteType - Interface in com.googlecode.objectify.cmd
-
After a type is specified, the next step in a delete chain is to specify an optional parent or a set of ids.
- depth() - Method in class com.googlecode.objectify.impl.Path
-
ROOT is 0, top level Entity properties are 1, embedded things are higher.
- deserialize(JsonParser, DeserializationContext) - Method in class com.googlecode.objectify.util.jackson.BlobKeyDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class com.googlecode.objectify.util.jackson.KeyDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class com.googlecode.objectify.util.jackson.RawKeyDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class com.googlecode.objectify.util.jackson.RefDeserializer
- destroy() - Method in class com.googlecode.objectify.util.AbstractFilter
- DISCRIMINATOR_INDEX_PROPERTY - Static variable in class com.googlecode.objectify.impl.translate.ClassTranslator
-
Name of the list property which will hold all indexed discriminator values
- DISCRIMINATOR_PROPERTY - Static variable in class com.googlecode.objectify.impl.translate.ClassTranslator
-
Name of the out-of-band discriminator property in a PropertyContainer
- distinct(boolean) - Method in interface com.googlecode.objectify.cmd.Query
- distinct(boolean) - Method in interface com.googlecode.objectify.cmd.SimpleQuery
-
Determines whether this is a SELECT DISTINCT query.
- distinct(boolean) - Method in class com.googlecode.objectify.impl.SimpleQueryImpl
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.googlecode.objectify.cache.AsyncCacheFilter
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.googlecode.objectify.ObjectifyFilter
- doGet(HttpServletRequest, HttpServletResponse) - Method in class com.googlecode.objectify.util.MemcacheStatsServlet
- done() - Method in class com.googlecode.objectify.impl.translate.LoadContext
-
Call this when a load process completes.
E
- early() - Method in annotation type com.googlecode.objectify.annotation.Translate
-
If true, the factory will be placed early in the chain, before collection translators.
- EmbeddedCreator<P> - Class in com.googlecode.objectify.impl.translate
-
This version is for creating normal embedded objects.
- EmbeddedCreator(Class<P>, Forge) - Constructor for class com.googlecode.objectify.impl.translate.EmbeddedCreator
- EmbeddedMapTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Translator which turns a Map<String, ?> into an EmbeddedEntity.
- EmbeddedMapTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.EmbeddedMapTranslatorFactory
- empty(Iterable<Key>) - Method in class com.googlecode.objectify.cache.EntityMemcache
-
Revert a set of keys to the empty state.
- endAt(Cursor) - Method in interface com.googlecode.objectify.cmd.Query
- endAt(Cursor) - Method in interface com.googlecode.objectify.cmd.SimpleQuery
-
Ends query results at the specified Cursor.
- endAt(Cursor) - Method in class com.googlecode.objectify.impl.SimpleQueryImpl
- enlist(Result<?>) - Method in class com.googlecode.objectify.impl.TransactionImpl
-
Enlist any operations that modify the session.
- enterContainerContext(Object) - Method in class com.googlecode.objectify.impl.translate.LoadContext
-
Enter a container context; this is the context of the object that we are processing right now.
- entities(E...) - Method in interface com.googlecode.objectify.cmd.Loader
-
A convenient substitute for entities(Iterable)
- entities(E...) - Method in interface com.googlecode.objectify.cmd.Saver
-
A convenience method for entities(Iterable)
- entities(E...) - Method in class com.googlecode.objectify.impl.LoaderImpl
- entities(E...) - Method in class com.googlecode.objectify.impl.SaverImpl
- entities(Iterable<?>) - Method in interface com.googlecode.objectify.cmd.DeferredDeleter
-
Defer deletion of specific entities.
- entities(Iterable<?>) - Method in interface com.googlecode.objectify.cmd.DeferredSaver
-
Save a batch of entities in the datastore at the end of the current unit-of-work.
- entities(Iterable<?>) - Method in interface com.googlecode.objectify.cmd.Deleter
-
Begin asynchronous deletion of specific entities.
- entities(Iterable<?>) - Method in class com.googlecode.objectify.impl.DeferredSaverImpl
- entities(Iterable<?>) - Method in class com.googlecode.objectify.impl.DeleterImpl
- entities(Iterable<E>) - Method in interface com.googlecode.objectify.cmd.Loader
-
Load multiple entities from the datastore in a batch.
- entities(Iterable<E>) - Method in interface com.googlecode.objectify.cmd.Saver
-
Asynchronously save a batch of entities in the datastore.
- entities(Iterable<E>) - Method in class com.googlecode.objectify.impl.LoaderImpl
- entities(Iterable<E>) - Method in class com.googlecode.objectify.impl.SaverImpl
- entities(Object...) - Method in interface com.googlecode.objectify.cmd.DeferredDeleter
-
Convenient substitute for entities(Iterable)
- entities(Object...) - Method in interface com.googlecode.objectify.cmd.DeferredSaver
-
A convenience method for entities(Iterable)
- entities(Object...) - Method in interface com.googlecode.objectify.cmd.Deleter
-
Convenient substitute for entities(Iterable)
- entities(Object...) - Method in class com.googlecode.objectify.impl.DeferredSaverImpl
- entities(Object...) - Method in class com.googlecode.objectify.impl.DeleterImpl
- entity(E) - Method in interface com.googlecode.objectify.cmd.Loader
-
Load a single entity which has the same id/parent as the specified entity.
- entity(E) - Method in interface com.googlecode.objectify.cmd.Saver
-
Asynchronously save a single entity in the datastore.
- entity(E) - Method in class com.googlecode.objectify.impl.LoaderImpl
- entity(E) - Method in class com.googlecode.objectify.impl.SaverImpl
- entity(Object) - Method in interface com.googlecode.objectify.cmd.DeferredDeleter
-
Defer deletion of a specific entity.
- entity(Object) - Method in interface com.googlecode.objectify.cmd.DeferredSaver
-
Save a single entity in the datastore at the end of the current unit-of-work.
- entity(Object) - Method in interface com.googlecode.objectify.cmd.Deleter
-
Begin asynchronous deletion of a specific entity.
- entity(Object) - Method in class com.googlecode.objectify.impl.DeferredSaverImpl
- entity(Object) - Method in class com.googlecode.objectify.impl.DeleterImpl
- Entity - Annotation Type in com.googlecode.objectify.annotation
-
This annotation must be placed on your entity POJOs.
- EntityCreator<P> - Class in com.googlecode.objectify.impl.translate
-
This version is for creating entity objects, which could be embedded or top-level.
- EntityCreator(Class<P>, Forge, KeyMetadata<P>) - Constructor for class com.googlecode.objectify.impl.translate.EntityCreator
- entityMemcache - Variable in class com.googlecode.objectify.ObjectifyFactory
-
Manages caching of entities at a low level.
- EntityMemcache - Class in com.googlecode.objectify.cache
-
This is the facade used by Objectify to cache entities in the MemcacheService.
- EntityMemcache(CacheControl, MemcacheStats, MemcacheService) - Constructor for class com.googlecode.objectify.cache.EntityMemcache
- EntityMemcache(String) - Constructor for class com.googlecode.objectify.cache.EntityMemcache
-
Creates a memcache which caches everything without expiry and doesn't record statistics.
- EntityMemcache(String, CacheControl) - Constructor for class com.googlecode.objectify.cache.EntityMemcache
-
Creates a memcache which doesn't record stats
- EntityMemcache(String, CacheControl, MemcacheStats) - Constructor for class com.googlecode.objectify.cache.EntityMemcache
- EntityMemcache(String, CacheControl, MemcacheStats, IMemcacheServiceFactory) - Constructor for class com.googlecode.objectify.cache.EntityMemcache
- EntityMemcache.Bucket - Class in com.googlecode.objectify.cache
-
A bucket represents memcache information for a particular Key.
- EntityMemcacheStats - Class in com.googlecode.objectify.impl
-
Tracks hit/miss statistics for the memcache.
- EntityMemcacheStats() - Constructor for class com.googlecode.objectify.impl.EntityMemcacheStats
- EntityMemcacheStats.Stat - Class in com.googlecode.objectify.impl
- EntityMetadata<P> - Class in com.googlecode.objectify.impl
-
Holds basic information about POJO entities, and can translate back and forth to the datastore representation.
- EntityMetadata(ObjectifyFactory, Class<P>) - Constructor for class com.googlecode.objectify.impl.EntityMetadata
- EntityTranslator - Class in com.googlecode.objectify.impl.translate
-
Translator which can translate arbitrary entities based on registered kinds.
- EntityTranslator(Registrar) - Constructor for class com.googlecode.objectify.impl.translate.EntityTranslator
- EnumStringifier<E extends Enum> - Class in com.googlecode.objectify.stringifier
-
Converts Enums back and forth with their string representation
- EnumStringifier() - Constructor for class com.googlecode.objectify.stringifier.EnumStringifier
- EnumTranslatorFactory<E extends Enum<E>> - Class in com.googlecode.objectify.impl.translate
-
Knows how to convert Enums to the datastore String
- EnumTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.EnumTranslatorFactory
- equals(Object) - Method in class com.googlecode.objectify.impl.Path
-
Compares on complete path
- equals(Object) - Method in class com.googlecode.objectify.Key
- equals(Object) - Method in class com.googlecode.objectify.Ref
-
Equality comparison is based on key equivalence
- equals(Object) - Method in class com.googlecode.objectify.repackaged.gentyref.TypeToken
- equivalent(Key<T>) - Method in class com.googlecode.objectify.Key
-
A type-safe equivalence comparison
- equivalent(Key<T>) - Method in class com.googlecode.objectify.Ref
-
Type safe comparison for key equivalence
- equivalent(Ref<T>) - Method in class com.googlecode.objectify.Key
-
A type-safe equivalence comparison
- equivalent(Ref<T>) - Method in class com.googlecode.objectify.Ref
-
Type-safe comparison for key equivalence
- erase(Type) - Static method in class com.googlecode.objectify.repackaged.gentyref.GenericTypeReflector
-
Returns the erasure of the given type.
- execute() - Method in class com.googlecode.objectify.impl.LoadEngine
-
Starts asychronous fetching of the batch.
- execute(ObjectifyImpl<O>, TxnType, Work<R>) - Method in class com.googlecode.objectify.impl.Transactor
- execute(ObjectifyImpl<O>, TxnType, Work<R>) - Method in class com.googlecode.objectify.impl.TransactorNo
- execute(ObjectifyImpl<O>, TxnType, Work<R>) - Method in class com.googlecode.objectify.impl.TransactorYes
- execute(TxnType, Work<R>) - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- execute(TxnType, Work<R>) - Method in interface com.googlecode.objectify.Objectify
-
Executes the work with the transactional behavior defined by the parameter txnType.
- execute(Object) - Method in class com.googlecode.objectify.impl.translate.LifecycleMethod
- exitContainerContext(Object) - Method in class com.googlecode.objectify.impl.translate.LoadContext
-
Exit a container context.
- expirationSeconds() - Method in annotation type com.googlecode.objectify.annotation.Cache
-
Number of seconds after which the cached copy should be expired; the default value (0) is "keep as long as possible".
- extend(String) - Method in class com.googlecode.objectify.impl.Path
F
- fact - Variable in class com.googlecode.objectify.impl.Registrar
-
Needed to obtain the converters
- factory - Variable in class com.googlecode.objectify.impl.ObjectifyImpl
-
The factory that produced us
- factory() - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- factory() - Method in interface com.googlecode.objectify.Objectify
-
Obtain the ObjectifyFactory from which this Objectify instance was created.
- factory() - Static method in class com.googlecode.objectify.ObjectifyService
- fetch(Set<Key>) - Method in class com.googlecode.objectify.impl.LoadEngine
-
Fetch the keys from the async datastore using the current transaction context
- field_get(Field, Object) - Static method in class com.googlecode.objectify.impl.TypeUtils
-
Checked exceptions are LAME.
- FieldProperty - Class in com.googlecode.objectify.impl
-
Property which encapsulates a simple field.
- FieldProperty(ObjectifyFactory, Class<?>, Field) - Constructor for class com.googlecode.objectify.impl.FieldProperty
- fillInStackTrace() - Method in exception com.googlecode.objectify.impl.translate.SkipException
-
No need for a stacktrace
- filter(Query.Filter) - Method in interface com.googlecode.objectify.cmd.Query
-
Create a filter based on the raw low-level Filter.
- filter(Query.Filter) - Method in class com.googlecode.objectify.impl.QueryImpl
- filter(String, Object) - Method in interface com.googlecode.objectify.cmd.Query
-
Create a filter based on the specified condition and value, using the same syntax as the GAE/Python query class.
- filter(String, Object) - Method in class com.googlecode.objectify.impl.QueryImpl
- filterKey(Object) - Method in interface com.googlecode.objectify.cmd.Query
- filterKey(Object) - Method in interface com.googlecode.objectify.cmd.SimpleQuery
-
An alias for
filterKey("=", value)
- filterKey(Object) - Method in class com.googlecode.objectify.impl.SimpleQueryImpl
- filterKey(String, Object) - Method in interface com.googlecode.objectify.cmd.Query
- filterKey(String, Object) - Method in interface com.googlecode.objectify.cmd.SimpleQuery
-
Create a filter on the key of an entity.
- filterKey(String, Object) - Method in class com.googlecode.objectify.impl.SimpleQueryImpl
- first() - Method in interface com.googlecode.objectify.cmd.QueryExecute
-
Gets the first entity in the result set.
- first() - Method in class com.googlecode.objectify.impl.QueryImpl
- flush() - Method in class com.googlecode.objectify.impl.Deferrer
- flush() - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- flush() - Method in interface com.googlecode.objectify.Objectify
-
Synchronously flushes any deferred operations to the datastore.
- Forge - Interface in com.googlecode.objectify.impl
-
Interface for something that constructs objects.
- ForwardPath - Class in com.googlecode.objectify.impl
-
This is a wrapper for a Path that makes it backwards; instead of going from tail to head, it has links from head to tail.
- ForwardPath(Path) - Constructor for class com.googlecode.objectify.impl.ForwardPath
- fromEntity(Entity) - Method in interface com.googlecode.objectify.cmd.Loader
-
Convert a native datastore Entity into a typed POJO.
- fromEntity(Entity) - Method in class com.googlecode.objectify.impl.LoaderImpl
- fromString(String) - Method in class com.googlecode.objectify.stringifier.EnumStringifier
- fromString(String) - Method in class com.googlecode.objectify.stringifier.KeyStringifier
- fromString(String) - Method in class com.googlecode.objectify.stringifier.NullStringifier
- fromString(String) - Method in interface com.googlecode.objectify.stringifier.Stringifier
-
Convert the string back to a thing
- FutureHelper - Class in com.googlecode.objectify.util
-
This provides some of the methods of Google's (package-private) FutureHelper
- FutureNow<T> - Class in com.googlecode.objectify.util
-
A simple Future impl that provides some already-obtained static data.
- FutureNow(T) - Constructor for class com.googlecode.objectify.util.FutureNow
G
- generateIfConditions(Class<? extends If<?, ?>>[], Field) - Method in class com.googlecode.objectify.impl.IfConditionGenerator
-
Clever enough to recognize that an empty set of conditions means Always.
- GenericTypeReflector - Class in com.googlecode.objectify.repackaged.gentyref
-
Utility class for doing reflection on types.
- GenericUtils - Class in com.googlecode.objectify.util
- get() - Method in class com.googlecode.objectify.cache.MergeFuture
- get() - Method in class com.googlecode.objectify.cache.TriggerFuture
- get() - Method in class com.googlecode.objectify.impl.ref.DeadRef
- get() - Method in class com.googlecode.objectify.impl.ref.LiveRef
- get() - Method in class com.googlecode.objectify.Ref
-
Obtain the entity value associated with the key.
- get() - Method in class com.googlecode.objectify.util.FutureNow
- get(long, TimeUnit) - Method in class com.googlecode.objectify.cache.MergeFuture
- get(long, TimeUnit) - Method in class com.googlecode.objectify.cache.TriggerFuture
- get(long, TimeUnit) - Method in class com.googlecode.objectify.util.FutureNow
- get(Key) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- get(Key) - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- get(Transaction, Key) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- get(Transaction, Key) - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- get(Transaction, Iterable<Key>) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- get(Transaction, Iterable<Key>) - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- get(TypeKey, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.Translators
-
Obtains the Translator appropriate for this type and annotations.
- get(Key<T>) - Method in class com.googlecode.objectify.impl.Session
- get(Class<T>) - Static method in class com.googlecode.objectify.repackaged.gentyref.TypeToken
-
Gets type token for the given
Class
instance. - get(Iterable<Key>) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- get(Iterable<Key>) - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- get(Object) - Method in class com.googlecode.objectify.impl.FieldProperty
- get(Object) - Method in class com.googlecode.objectify.impl.MethodProperty
- get(Object) - Method in interface com.googlecode.objectify.impl.Property
-
Get the value of the property (field) if possible, or null if not possible (method)
- get(Type) - Static method in class com.googlecode.objectify.repackaged.gentyref.TypeToken
-
Gets type token for the given
Type
instance. - getActiveTransactions() - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- getActiveTransactions() - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- getAll(Iterable<Key>) - Method in class com.googlecode.objectify.cache.EntityMemcache
-
Gets the Buckets for the specified keys.
- getAll(Collection<Key>) - Method in class com.googlecode.objectify.cache.KeyMemcacheService
- getAnnotation(Annotation[], Class<A>) - Static method in class com.googlecode.objectify.impl.TypeUtils
-
Gets the annotation that has the specified type, or null if there isn't one
- getAnnotation(Class<A>) - Method in class com.googlecode.objectify.impl.AbstractProperty
- getAnnotation(Class<A>) - Method in interface com.googlecode.objectify.impl.Property
-
Get an annotation on this type, or null if there is no annotation of that type
- getAnnotation(Class<A>) - Method in class com.googlecode.objectify.impl.translate.TypeKey
-
Gets the annotation that has the specified type, or null if there isn't one
- getAnnotationAnywhere(Class<A>) - Method in class com.googlecode.objectify.impl.translate.TypeKey
-
Checks not only the listed annotations but also annotations on the class.
- getAnnotations() - Method in class com.googlecode.objectify.impl.AbstractProperty
- getAnnotations() - Method in interface com.googlecode.objectify.impl.Property
-
Enumerate the annotations
- getApp() - Method in class com.googlecode.objectify.util.cmd.TransactionWrapper
- getArgument() - Method in exception com.googlecode.objectify.repackaged.gentyref.TypeArgumentNotInBoundException
-
Returns the supplied argument that is not within the bound.
- getArrayComponentType(Type) - Static method in class com.googlecode.objectify.repackaged.gentyref.GenericTypeReflector
-
If type is an array type, returns the type of the component of the array.
- getAsyncDatastoreService() - Static method in class com.googlecode.objectify.cache.CachingDatastoreServiceFactory
-
Get a caching AsyncDatastoreService with no pre-set expiration on cache values.
- getAsyncDatastoreService(int) - Static method in class com.googlecode.objectify.cache.CachingDatastoreServiceFactory
-
Get a caching AsyncDatastoreService with a specific expiration on all cached items.
- getAsyncDatastoreService(DatastoreServiceConfig) - Static method in class com.googlecode.objectify.cache.CachingDatastoreServiceFactory
-
Get a caching AsyncDatastoreService with no pre-set expiration on cache values.
- getAsyncDatastoreService(DatastoreServiceConfig, int) - Static method in class com.googlecode.objectify.cache.CachingDatastoreServiceFactory
-
Get a caching AsyncDatastoreService with a specific expiration on all cached items.
- getAsyncDatastoreService(DatastoreServiceConfig, EntityMemcache) - Static method in class com.googlecode.objectify.cache.CachingDatastoreServiceFactory
-
Get a caching AsyncDatastoreService that uses a particular EntityMemcache configuration.
- getAsyncDatastoreService(EntityMemcache) - Static method in class com.googlecode.objectify.cache.CachingDatastoreServiceFactory
-
Get a caching AsyncDatastoreService that uses a particular EntityMemcache configuration.
- getBound() - Method in exception com.googlecode.objectify.repackaged.gentyref.TypeArgumentNotInBoundException
-
Returns the bound that was not satisfied.
- getBytesFromBlob(Object) - Static method in class com.googlecode.objectify.impl.translate.ByteArrayTranslatorFactory
- getCache() - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- getCacheExpirySeconds() - Method in class com.googlecode.objectify.impl.EntityMetadata
-
Get the expiry associated with this kind, defined by the @Cached annotation.
- getCollectionComponentType(Type) - Static method in class com.googlecode.objectify.util.GenericUtils
-
Get the component type of a Collection.
- getConstructor(Class<?>, Class<?>...) - Static method in class com.googlecode.objectify.impl.TypeUtils
-
Gets a constructor that has the specified types of arguments.
- getContainer(Type, Path) - Method in class com.googlecode.objectify.impl.translate.LoadContext
-
Get the container object which is appropriate for the specified property.
- getCreator() - Method in class com.googlecode.objectify.impl.translate.ClassTranslator
-
Get the creator associated with this class.
- getCurrentTransaction() - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- getCurrentTransaction() - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- getCurrentTransaction(Transaction) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- getCurrentTransaction(Transaction) - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- getCursor() - Method in class com.googlecode.objectify.impl.ChunkingIterator
-
From Alfred Fuller (principal GAE datastore guru): Calling getCursor() for results in the middle of a batch forces the sdk to run a new query as seen here: http://code.google.com/p/googleappengine/source/browse/trunk/java/src/main/com/google/appengine/api/datastore/Cursor.java#70 Doing this for every result will definitely give you really bad performance.
- getCursor() - Method in class com.googlecode.objectify.impl.ResultWithCursor
- getCursor() - Method in class com.googlecode.objectify.util.cmd.QueryResultIteratorWrapper
- getCursor() - Method in class com.googlecode.objectify.util.TranslatingQueryResultIterator
- getDatastoreAttributes() - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- getDatastoreAttributes() - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- getDatastoreService() - Static method in class com.googlecode.objectify.cache.CachingDatastoreServiceFactory
-
Get a caching DatastoreService with no pre-set expiration on cache values.
- getDatastoreService(int) - Static method in class com.googlecode.objectify.cache.CachingDatastoreServiceFactory
-
Get a caching DatastoreService with a specific expiration on all cached items.
- getDatastoreService(DatastoreServiceConfig) - Static method in class com.googlecode.objectify.cache.CachingDatastoreServiceFactory
-
Get a caching DatastoreService with no pre-set expiration on cache values.
- getDatastoreService(DatastoreServiceConfig, int) - Static method in class com.googlecode.objectify.cache.CachingDatastoreServiceFactory
-
Get a caching DatastoreService with a specific expiration on all cached items.
- getDatastoreService(DatastoreServiceConfig, EntityMemcache) - Static method in class com.googlecode.objectify.cache.CachingDatastoreServiceFactory
-
Get a caching DatastoreService that uses a particular EntityMemcache configuration.
- getDatastoreService(EntityMemcache) - Static method in class com.googlecode.objectify.cache.CachingDatastoreServiceFactory
-
Get a caching DatastoreService that uses a particular EntityMemcache configuration.
- getDeclaredAnnotation(Class<?>, Class<A>) - Static method in class com.googlecode.objectify.impl.TypeUtils
-
Get the declared annotation, ignoring any inherited annotations
- getDeclaredClass() - Method in class com.googlecode.objectify.impl.translate.ClassTranslator
- getDefaultMemcacheNamespace() - Static method in class com.googlecode.objectify.cache.CachingDatastoreServiceFactory
-
The memcache snamespace used by default for most of these factory methods
- getDeferrer() - Method in class com.googlecode.objectify.impl.Transactor
- getDiscriminator() - Method in class com.googlecode.objectify.impl.translate.ClassTranslator
- getEntity() - Method in class com.googlecode.objectify.cache.EntityMemcache.Bucket
-
Get the entity stored at this bucket, possibly the one that was set
- getEntity() - Method in exception com.googlecode.objectify.LoadException
-
The complete version of what we couldn't translate
- getEntityClass() - Method in class com.googlecode.objectify.impl.EntityMetadata
-
Gets the class associated with this entity.
- getExactFieldType(Field, Type) - Static method in class com.googlecode.objectify.repackaged.gentyref.GenericTypeReflector
-
Returns the exact type of the given field in the given type.
- getExactParameterTypes(Method, Type) - Static method in class com.googlecode.objectify.repackaged.gentyref.GenericTypeReflector
-
Returns the exact parameter types of the given method in the given type.
- getExactReturnType(Method, Type) - Static method in class com.googlecode.objectify.repackaged.gentyref.GenericTypeReflector
-
Returns the exact return type of the given method in the given type.
- getExactSuperType(Type, Class<?>) - Static method in class com.googlecode.objectify.repackaged.gentyref.GenericTypeReflector
-
Finds the most specific supertype of type whose erasure is searchClass.
- getExpirySeconds(Key) - Method in interface com.googlecode.objectify.cache.CacheControl
-
Get the amount of time that entities of a particular key should be cached, if at all.
- getExpirySeconds(Key) - Method in class com.googlecode.objectify.impl.CacheControlImpl
- getFactory() - Method in class com.googlecode.objectify.impl.translate.CreateContext
- getFinalPath() - Method in class com.googlecode.objectify.impl.ForwardPath
-
Get the complete path in this chain, typically for error messages or debugging
- getHits() - Method in class com.googlecode.objectify.impl.EntityMemcacheStats.Stat
- getId() - Method in class com.googlecode.objectify.Key
- getId() - Method in class com.googlecode.objectify.util.cmd.TransactionWrapper
- getId(Key) - Static method in class com.googlecode.objectify.util.DatastoreUtils
-
Gets the String or Long id from the key, or null if incomplete
- getId(Key<?>) - Static method in class com.googlecode.objectify.util.DatastoreUtils
-
Gets the String or Long id from the key, or null if incomplete
- getIdentifiables(Collection<Key>) - Method in class com.googlecode.objectify.cache.KeyMemcacheService
- getIdFieldName() - Method in class com.googlecode.objectify.impl.KeyMetadata
- getIdFieldType() - Method in class com.googlecode.objectify.impl.KeyMetadata
- getIndexes() - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- getIndexes() - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- getIndexes() - Method in class com.googlecode.objectify.impl.translate.SaveContext
- getIndexInstruction(Object) - Method in class com.googlecode.objectify.impl.FieldProperty
- getIndexInstruction(Object) - Method in class com.googlecode.objectify.impl.MethodProperty
-
Since we are never saved this is never called
- getIndexInstruction(Object) - Method in interface com.googlecode.objectify.impl.Property
-
Gets the index instruction for this property, if there is one.
- getIndexList() - Method in class com.googlecode.objectify.impl.ChunkingIterator
- getIndexList() - Method in class com.googlecode.objectify.util.cmd.QueryResultIteratorWrapper
- getIndexList() - Method in class com.googlecode.objectify.util.TranslatingQueryResultIterator
- getKey() - Method in class com.googlecode.objectify.cache.EntityMemcache.Bucket
- getKey() - Method in exception com.googlecode.objectify.NotFoundException
- getKey() - Method in class com.googlecode.objectify.Ref
-
Same as key() but conforms to JavaBeans conventions in case this is being processed by a JSON converter or expression language.
- getKey(PropertyContainer) - Static method in class com.googlecode.objectify.util.DatastoreUtils
-
Unfortunately Entity and EmbeddedEntity do not share a common interface for getting key.
- getKey(V) - Method in interface com.googlecode.objectify.mapper.Mapper
-
Get whatever should be used as the map key given the specified value
- getKeyMetadata() - Method in class com.googlecode.objectify.impl.EntityMetadata
-
Get specific metadata about the key for this type.
- getKeyMetadata() - Method in class com.googlecode.objectify.impl.translate.EntityCreator
- getKind() - Method in class com.googlecode.objectify.impl.KeyMetadata
- getKind() - Method in class com.googlecode.objectify.Key
- getKind(Class<?>) - Static method in class com.googlecode.objectify.Key
-
Determines the kind for a Class, as understood by the datastore.
- getLoadArrangement() - Method in class com.googlecode.objectify.impl.LoadEngine
- getLoadConditions() - Method in class com.googlecode.objectify.impl.PropertyPopulator
- getLoadGroups() - Method in interface com.googlecode.objectify.cmd.Loader
- getLoadGroups() - Method in class com.googlecode.objectify.impl.LoaderImpl
- getLoadNames() - Method in class com.googlecode.objectify.impl.AbstractProperty
- getLoadNames() - Method in interface com.googlecode.objectify.impl.Property
-
Get all the names associated with this property (ie, due to @AlsoLoad).
- getLowerBounds() - Method in interface com.googlecode.objectify.repackaged.gentyref.CaptureType
-
Returns an array of Type objects representing the lower bound(s) of this type variable.
- getMapKeyType(Type) - Static method in class com.googlecode.objectify.util.GenericUtils
-
Get the key type of a Map.
- getMapValueType(Type) - Static method in class com.googlecode.objectify.util.GenericUtils
-
Get the value type of a Map.
- getMemcacheStats() - Method in class com.googlecode.objectify.ObjectifyFactory
-
Get the object that tracks memcache stats.
- getMemcacheStats() - Method in class com.googlecode.objectify.util.MemcacheStatsServlet
-
If you aren't using ObjectifyService, you can extend the servlet and override this method.
- getMetadata(Key) - Method in class com.googlecode.objectify.ObjectifyFactory
- getMetadata(Key<T>) - Method in class com.googlecode.objectify.impl.Keys
- getMetadata(Key<T>) - Method in class com.googlecode.objectify.ObjectifyFactory
- getMetadata(Class<T>) - Method in class com.googlecode.objectify.impl.Registrar
- getMetadata(Class<T>) - Method in class com.googlecode.objectify.ObjectifyFactory
- getMetadata(String) - Method in class com.googlecode.objectify.impl.Registrar
- getMetadata(String) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Gets metadata for the specified kind, returning null if nothing registered.
- getMetadataForEntity(T) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Named differently so you don't accidentally use the Object form
- getMetadataSafe(Class<T>) - Method in class com.googlecode.objectify.impl.Keys
- getMetadataSafe(Class<T>) - Method in class com.googlecode.objectify.impl.Registrar
- getMetadataSafe(String) - Method in class com.googlecode.objectify.impl.Registrar
-
Gets metadata for the specified kind
- getMetadataSafe(T) - Method in class com.googlecode.objectify.impl.Keys
- getMisses() - Method in class com.googlecode.objectify.impl.EntityMemcacheStats.Stat
- getName() - Method in class com.googlecode.objectify.impl.AbstractProperty
- getName() - Method in interface com.googlecode.objectify.impl.Property
-
Get the primary name associated with this property
- getName() - Method in class com.googlecode.objectify.Key
- getNext() - Method in class com.googlecode.objectify.impl.ForwardPath
- getNoArgConstructor(Class<T>) - Static method in class com.googlecode.objectify.impl.TypeUtils
-
Throw an IllegalStateException if the class does not have a no-arg constructor.
- getObjectify() - Method in interface com.googlecode.objectify.cmd.Loader
- getObjectify() - Method in class com.googlecode.objectify.impl.LoaderImpl
- getObjectifyImpl() - Method in class com.googlecode.objectify.impl.LoaderImpl
- getOffset() - Method in class com.googlecode.objectify.impl.ResultWithCursor
- getParameter() - Method in exception com.googlecode.objectify.repackaged.gentyref.TypeArgumentNotInBoundException
-
Returns the type parameter.
- getParent() - Method in class com.googlecode.objectify.Key
- getParentFieldName() - Method in class com.googlecode.objectify.impl.KeyMetadata
- getPath() - Method in class com.googlecode.objectify.impl.ForwardPath
- getPercent() - Method in class com.googlecode.objectify.impl.EntityMemcacheStats.Stat
- getPojo() - Method in exception com.googlecode.objectify.SaveException
-
The complete version of what we couldn't translate
- getPopulator() - Method in class com.googlecode.objectify.impl.translate.ClassTranslator
-
Get the populator associated with this class.
- getPopulator(Class<P>, Path) - Method in class com.googlecode.objectify.impl.translate.CreateContext
-
Get the populator for the specified class.
- getPrevious() - Method in class com.googlecode.objectify.impl.Path
-
Get the previous path; for root this will be null
- getProperty() - Method in class com.googlecode.objectify.impl.PropertyPopulator
- getRaw() - Method in class com.googlecode.objectify.Key
- getRaw() - Method in class com.googlecode.objectify.KeyRange
-
Get the raw datastore keyrange.
- getRaw() - Method in class com.googlecode.objectify.util.cmd.TransactionWrapper
-
Just in case something needs this
- getRawKey(P) - Method in class com.googlecode.objectify.impl.KeyMetadata
-
Gets a key composed of the relevant id and parent fields in the object.
- getRawKeyOrNull(P) - Method in class com.googlecode.objectify.impl.KeyMetadata
-
Gets a key composed of the relevant id and parent fields in the object.
- getRawKeys(Iterable<? extends Ref<?>>) - Static method in class com.googlecode.objectify.util.DatastoreUtils
-
Turn a list of refs into a list of raw keys.
- getResult() - Method in class com.googlecode.objectify.impl.ResultWithCursor
- getResult() - Method in class com.googlecode.objectify.impl.SessionValue
- getRoot() - Method in class com.googlecode.objectify.Key
-
Gets the root of a parent graph of keys.
- getRoot(Class<P>) - Method in class com.googlecode.objectify.impl.translate.Translators
-
Get the translator for a root entity class
- getSegment() - Method in class com.googlecode.objectify.impl.Path
-
Get this segment of the path.
- getSession() - Method in class com.googlecode.objectify.impl.LoadEngine
- getSession() - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- getSession() - Method in class com.googlecode.objectify.impl.Transactor
- getStats() - Method in class com.googlecode.objectify.impl.EntityMemcacheStats
-
Get the live statistics.
- getString() - Method in class com.googlecode.objectify.Key
-
Call KeyFactory.keyToString() on the underlying Key.
- getTransaction() - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- getTransaction() - Method in class com.googlecode.objectify.impl.Transactor
- getTransaction() - Method in class com.googlecode.objectify.impl.TransactorNo
- getTransaction() - Method in class com.googlecode.objectify.impl.TransactorYes
- getTransaction() - Method in interface com.googlecode.objectify.Objectify
-
Get the underlying transaction object associated with this Objectify instance.
- getTranslator() - Method in class com.googlecode.objectify.impl.EntityMetadata
-
= * @return the translator that will convert between native datastore representation and pojo for this type.
- getTranslator(TypeKey<P>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.CreateContext
-
Get the relevant translator, creating it if necessary.
- getTranslators() - Method in class com.googlecode.objectify.ObjectifyFactory
-
Gets the master list of all registered TranslatorFactory objects.
- getType() - Method in class com.googlecode.objectify.impl.FieldProperty
- getType() - Method in class com.googlecode.objectify.impl.MethodProperty
- getType() - Method in interface com.googlecode.objectify.impl.Property
-
Get the real generic type of the field
- getType() - Method in class com.googlecode.objectify.repackaged.gentyref.TypeToken
- getTypeAsClass() - Method in class com.googlecode.objectify.impl.translate.TypeKey
-
Get the basic class through erasure.
- getTypeName(Type) - Static method in class com.googlecode.objectify.repackaged.gentyref.GenericTypeReflector
-
Returns the display name of a Type.
- getTypeParameter(Type, TypeVariable<? extends Class<?>>) - Static method in class com.googlecode.objectify.repackaged.gentyref.GenericTypeReflector
-
Gets the type parameter for a given type that is the value for a given type variable.
- getUpperBoundClassAndInterfaces(Type) - Static method in class com.googlecode.objectify.repackaged.gentyref.GenericTypeReflector
-
Returns list of classes and interfaces that are supertypes of the given type.
- getUpperBounds() - Method in interface com.googlecode.objectify.repackaged.gentyref.CaptureType
-
Returns an array of Type objects representing the upper bound(s) of this capture.
- getValue() - Method in class com.googlecode.objectify.Ref
-
This method exists to facilitate serialization via javabeans conventions.
- getValue() - Method in class com.googlecode.objectify.util.Holder
- getValue(Object, SaveContext, Path) - Method in class com.googlecode.objectify.impl.PropertyPopulator
-
Get the value for the property and translate it into datastore format.
- group(Class<?>...) - Method in interface com.googlecode.objectify.cmd.Loader
-
Enables one or more fetch groups.
- group(Class<?>...) - Method in class com.googlecode.objectify.impl.LoaderImpl
H
- hashCode() - Method in class com.googlecode.objectify.impl.Path
-
Generates hash code for complete path
- hashCode() - Method in class com.googlecode.objectify.Key
- hashCode() - Method in class com.googlecode.objectify.Ref
-
Hash code is simply that of key
- hashCode() - Method in class com.googlecode.objectify.repackaged.gentyref.TypeToken
- hasNext() - Method in class com.googlecode.objectify.impl.Chunk
- hasNext() - Method in class com.googlecode.objectify.impl.ChunkingIterator
- hasNext() - Method in class com.googlecode.objectify.impl.ChunkIterator
- hasNext() - Method in class com.googlecode.objectify.util.cmd.QueryResultIteratorWrapper
- hasNext() - Method in class com.googlecode.objectify.util.TranslatingIterator
- hasParentField() - Method in class com.googlecode.objectify.impl.KeyMetadata
- Holder<T> - Class in com.googlecode.objectify.util
-
Just holds a value.
- Holder(T) - Constructor for class com.googlecode.objectify.util.Holder
- hybrid(boolean) - Method in interface com.googlecode.objectify.cmd.Query
- hybrid(boolean) - Method in interface com.googlecode.objectify.cmd.SimpleQuery
-
This method forces Objectify to (or not to) hybridize the query into a keys-only fetch plus batch get.
- hybrid(boolean) - Method in class com.googlecode.objectify.impl.SimpleQueryImpl
I
- id(long) - Method in interface com.googlecode.objectify.cmd.DeferredDeleteIds
-
Specify the numeric id of an entity and defer deletion.
- id(long) - Method in interface com.googlecode.objectify.cmd.DeleteIds
-
Specify the numeric id of an entity and start asynchronous deletion.
- id(long) - Method in interface com.googlecode.objectify.cmd.LoadIds
-
Specify the numeric id of an entity and start asynchronous fetch.
- id(String) - Method in interface com.googlecode.objectify.cmd.DeferredDeleteIds
-
Specify the String id of an entity and defer deletion.
- id(String) - Method in interface com.googlecode.objectify.cmd.DeleteIds
-
Specify the String id of an entity and start asynchronous deletion.
- id(String) - Method in interface com.googlecode.objectify.cmd.LoadIds
-
Specify the String id of an entity and start asynchronous fetch.
- Id - Annotation Type in com.googlecode.objectify.annotation
-
Place this annotation on a single Long, long, or String field of an entity POJO.
- IdentityMultimapList<K,V> - Class in com.googlecode.objectify.util
-
Identity-based Multimap that stores values in an ArrayList.
- IdentityMultimapList() - Constructor for class com.googlecode.objectify.util.IdentityMultimapList
- ids(long...) - Method in interface com.googlecode.objectify.cmd.DeferredDeleteIds
-
Specify the numeric ids of multiple entities and defer deletion.
- ids(long...) - Method in interface com.googlecode.objectify.cmd.DeleteIds
-
Specify the numeric ids of multiple entities and start asynchronous deletion.
- ids(Iterable<?>) - Method in interface com.googlecode.objectify.cmd.DeferredDeleteIds
-
Specify the ids of multiple entities and defer deletion.
- ids(Iterable<S>) - Method in interface com.googlecode.objectify.cmd.DeleteIds
-
Specify the ids of multiple entities and start asynchronous deletion.
- ids(Iterable<S>) - Method in interface com.googlecode.objectify.cmd.LoadIds
-
Specify the ids of multiple entities and start asynchronous fetch.
- ids(Long...) - Method in interface com.googlecode.objectify.cmd.LoadIds
-
Specify the numeric ids of multiple entities and start asynchronous fetch.
- ids(String...) - Method in interface com.googlecode.objectify.cmd.DeferredDeleteIds
-
Specify the String ids of multiple entities and defer deletion.
- ids(String...) - Method in interface com.googlecode.objectify.cmd.DeleteIds
-
Specify the String ids of multiple entities and start asynchronous deletion.
- ids(String...) - Method in interface com.googlecode.objectify.cmd.LoadIds
-
Specify the String ids of multiple entities and start asynchronous fetch.
- If<V,P> - Interface in com.googlecode.objectify.condition
-
A simple interface that defines a condition test for a field value or whole entity.
- IfConditionGenerator - Class in com.googlecode.objectify.impl
-
Utility that makes it easy to generate If conditions.
- IfConditionGenerator(ObjectifyFactory) - Constructor for class com.googlecode.objectify.impl.IfConditionGenerator
- IfDefault - Class in com.googlecode.objectify.condition
-
This condition tests against the default value of the field that it is placed upon, whatever that default may be.
- IfDefault() - Constructor for class com.googlecode.objectify.condition.IfDefault
- IfEmpty - Class in com.googlecode.objectify.condition
-
Simple If condition that returns true if the value is null or empty.
- IfEmpty() - Constructor for class com.googlecode.objectify.condition.IfEmpty
- IfEmptyString - Class in com.googlecode.objectify.condition
-
Simple If condition that returns true if the value is an empty string.
- IfEmptyString() - Constructor for class com.googlecode.objectify.condition.IfEmptyString
- IfFalse - Class in com.googlecode.objectify.condition
-
Simple If condition that returns true if the value is a boolean false.
- IfFalse() - Constructor for class com.googlecode.objectify.condition.IfFalse
- IfNotDefault - Class in com.googlecode.objectify.condition
-
The opposite of IfDefault
- IfNotDefault() - Constructor for class com.googlecode.objectify.condition.IfNotDefault
- IfNotEmpty - Class in com.googlecode.objectify.condition
-
Satisfies the opposite of IfEmpty - returns true if the value is not null and not an empty String, Collection, or Map.
- IfNotEmpty() - Constructor for class com.googlecode.objectify.condition.IfNotEmpty
- IfNotNull - Class in com.googlecode.objectify.condition
-
Simple If condition that returns true if the value is not null.
- IfNotNull() - Constructor for class com.googlecode.objectify.condition.IfNotNull
- IfNotZero - Class in com.googlecode.objectify.condition
-
Simple If condition that returns true if the value is anything other than zero.
- IfNotZero() - Constructor for class com.googlecode.objectify.condition.IfNotZero
- IfNull - Class in com.googlecode.objectify.condition
-
Simple If condition that returns true if the value is null.
- IfNull() - Constructor for class com.googlecode.objectify.condition.IfNull
- IfTrue - Class in com.googlecode.objectify.condition
-
Simple If condition that returns true if the value is a boolean true.
- IfTrue() - Constructor for class com.googlecode.objectify.condition.IfTrue
- IfZero - Class in com.googlecode.objectify.condition
-
Simple If condition that returns true if the value is a numeric zero.
- IfZero() - Constructor for class com.googlecode.objectify.condition.IfZero
- Ignore - Annotation Type in com.googlecode.objectify.annotation
-
Flags a field of a POJO entity that should be completely ignored by Objectify.
- IgnoreLoad - Annotation Type in com.googlecode.objectify.annotation
-
Flags a field of a POJO entity that should not be loaded by Objectify.
- IgnoreSave - Annotation Type in com.googlecode.objectify.annotation
-
When placed on an entity field, the field will not be written to the datastore.
- index() - Method in annotation type com.googlecode.objectify.annotation.Subclass
-
If true, the discriminator will be indexed, and a query for the specific subclass will return results.
- Index - Annotation Type in com.googlecode.objectify.annotation
-
This annotation controls whether or not fields are indexed in the datastore.
- init(ObjectifyFactory, Field) - Method in class com.googlecode.objectify.condition.IfDefault
- init(ObjectifyFactory, Field) - Method in class com.googlecode.objectify.condition.IfNotDefault
- init(ObjectifyFactory, Field) - Method in interface com.googlecode.objectify.condition.InitializeIf
-
Instructs the condition instance which field it lives on.
- init(ObjectifyFactory, Type) - Method in class com.googlecode.objectify.stringifier.EnumStringifier
- init(ObjectifyFactory, Type) - Method in interface com.googlecode.objectify.stringifier.InitializeStringifier
-
Informs the stringifier of the actual key type.
- init(FilterConfig) - Method in class com.googlecode.objectify.util.AbstractFilter
- initEntity(P) - Method in class com.googlecode.objectify.impl.KeyMetadata
-
This hides all the messiness of trying to create an Entity from an object that:
- InitializeIf - Interface in com.googlecode.objectify.condition
-
If an If, ?> condition class implements this interface, it will be called once just after construction.
- InitializeStringifier - Interface in com.googlecode.objectify.stringifier
-
If a Stringifier> implements this interface, it will be called once just after construction with the actual Type of the key to stringify.
- innerClass(Type, Class<?>) - Static method in class com.googlecode.objectify.repackaged.gentyref.TypeFactory
-
Creates a type of clazz nested in owner.
- instance() - Static method in class com.googlecode.objectify.util.IterateFunction
- instance() - Static method in class com.googlecode.objectify.util.ResultNowFunction
- INSTANCE - Static variable in class com.googlecode.objectify.impl.translate.NullPopulator
- invoke(MethodHandle, Object...) - Static method in class com.googlecode.objectify.impl.TypeUtils
-
Wraps any non-runtime exceptions with a runtime exception
- invoke(Object, Method, Object[]) - Method in class com.googlecode.objectify.cache.MemcacheServiceRetryProxy
- invoke(Object, Method, Object[]) - Method in class com.googlecode.objectify.util.ResultProxy
- isActive() - Method in class com.googlecode.objectify.util.cmd.TransactionWrapper
- isAnnotationPresent(Class<? extends Annotation>) - Method in class com.googlecode.objectify.impl.translate.TypeKey
- isAssignableFrom(Class<?>, Class<?>) - Static method in class com.googlecode.objectify.impl.TypeUtils
-
Just like Class.isAssignableFrom(), but does the right thing when considering autoboxing.
- isAssignableTo(Class<?>) - Method in class com.googlecode.objectify.impl.translate.TypeKey
-
Can this type be assigned to a variable with the specified type?
- isCacheable() - Method in class com.googlecode.objectify.cache.EntityMemcache.Bucket
- isCacheEnabled() - Method in class com.googlecode.objectify.impl.Registrar
- isCancelled() - Method in class com.googlecode.objectify.cache.MergeFuture
- isCancelled() - Method in class com.googlecode.objectify.cache.TriggerFuture
- isCancelled() - Method in class com.googlecode.objectify.util.FutureNow
- isDeclaredAnnotationPresent(Class<?>, Class<A>) - Static method in class com.googlecode.objectify.impl.TypeUtils
-
Is the declared annotation present, ignoring any inherited annotations
- isDone() - Method in class com.googlecode.objectify.cache.MergeFuture
- isDone() - Method in class com.googlecode.objectify.cache.TriggerFuture
-
This version also checks to see if we are done and we still need to call the trigger.
- isDone() - Method in class com.googlecode.objectify.util.FutureNow
- isEmpty() - Method in class com.googlecode.objectify.cache.EntityMemcache.Bucket
-
"Empty" means we don't know the value - it could be null, it could be uncacheable, or we could have some really weird unknown data in the cache.
- isExecuted() - Method in class com.googlecode.objectify.util.ResultCache
- isIdGeneratable() - Method in class com.googlecode.objectify.impl.KeyMetadata
- isLast() - Method in class com.googlecode.objectify.impl.ResultWithCursor
- isLoaded() - Method in class com.googlecode.objectify.impl.ref.DeadRef
- isLoaded() - Method in class com.googlecode.objectify.impl.ref.LiveRef
- isLoaded() - Method in class com.googlecode.objectify.Ref
-
If an entity has been loaded into the session or is otherwise available, this will return true.
- isLoaded(Key<?>) - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- isLoaded(Key<?>) - Method in interface com.googlecode.objectify.Objectify
- isNegative() - Method in class com.googlecode.objectify.cache.EntityMemcache.Bucket
- isRoot() - Method in class com.googlecode.objectify.impl.Path
- isSaved(Object) - Method in class com.googlecode.objectify.impl.FieldProperty
- isSaved(Object) - Method in class com.googlecode.objectify.impl.MethodProperty
-
Never saved
- isSaved(Object) - Method in interface com.googlecode.objectify.impl.Property
- isSuperType(Type, Type) - Static method in class com.googlecode.objectify.repackaged.gentyref.GenericTypeReflector
-
Checks if the capture of subType is a subtype of superType
- iterable() - Method in interface com.googlecode.objectify.cmd.QueryExecute
-
Starts an asynchronous query which will return entities.
- iterable() - Method in class com.googlecode.objectify.impl.QueryImpl
- IterateFunction<T> - Class in com.googlecode.objectify.util
-
Function that converts Iterables into Iterators.
- IterateFunction() - Constructor for class com.googlecode.objectify.util.IterateFunction
- iterator() - Method in class com.googlecode.objectify.impl.QueryImpl
- iterator() - Method in class com.googlecode.objectify.KeyRange
- iterator() - Method in class com.googlecode.objectify.util.TranslatingQueryResultIterable
- IteratorFirstResult<T> - Class in com.googlecode.objectify.util
-
Extracts the first value of the iterator as the result value.
- IteratorFirstResult(Iterator<T>) - Constructor for class com.googlecode.objectify.util.IteratorFirstResult
J
- JodaMoneyTranslators - Class in com.googlecode.objectify.impl.translate.opt.joda
-
A convenient static method that adds all the joda-money related converters to your factory's conversions.
- JodaTimeTranslators - Class in com.googlecode.objectify.impl.translate.opt.joda
-
A convenient static method that adds all the joda-time related converters to your factory's conversions.
K
- key - Variable in class com.googlecode.objectify.Ref
-
The key associated with this ref
- key() - Method in class com.googlecode.objectify.Ref
- key(Key) - Static method in class com.googlecode.objectify.Key
-
Easy null-safe conversion of the raw key.
- key(Key<?>) - Method in interface com.googlecode.objectify.cmd.DeferredDeleter
-
Defer deletion of a specific entity.
- key(Key<?>) - Method in interface com.googlecode.objectify.cmd.Deleter
-
Begin asynchronous deletion of a specific entity.
- key(Key<?>) - Method in class com.googlecode.objectify.impl.DeleterImpl
- key(Key<?>) - Static method in class com.googlecode.objectify.Key
-
Easy null-safe conversion of the typed key.
- key(Key<E>) - Method in interface com.googlecode.objectify.cmd.Loader
-
Load a single entity by key.
- key(Key<E>) - Method in class com.googlecode.objectify.impl.LoaderImpl
- Key<T> - Class in com.googlecode.objectify
-
A typesafe wrapper for the datastore Key object.
- KeyDeserializer - Class in com.googlecode.objectify.util.jackson
-
Will deserialize an Objectify Key> that was serialized with the KeySerializer
- KeyDeserializer() - Constructor for class com.googlecode.objectify.util.jackson.KeyDeserializer
- KeyKeySerializer - Class in com.googlecode.objectify.util.jackson
-
Configuring this serializer will make Key> objects render as their web-safe string *when they are used as Map keys*.
- KeyKeySerializer() - Constructor for class com.googlecode.objectify.util.jackson.KeyKeySerializer
- KeyMemcacheService - Class in com.googlecode.objectify.cache
-
Subset of MemcacheService used by EntityMemcache, but smart enough to translate Key into the stringified version so that the memcache keys are intelligible.
- KeyMemcacheService(MemcacheService) - Constructor for class com.googlecode.objectify.cache.KeyMemcacheService
- KeyMetadata<P> - Class in com.googlecode.objectify.impl
-
Figures out what to do with key fields on POJO entities.
- KeyMetadata(Class<P>, CreateContext, Path) - Constructor for class com.googlecode.objectify.impl.KeyMetadata
- keyOf(T) - Method in class com.googlecode.objectify.impl.Keys
- KeyRange<T> - Class in com.googlecode.objectify
-
This is a typesafe version of the KeyRange object.
- KeyRange(KeyRange) - Constructor for class com.googlecode.objectify.KeyRange
- keys - Variable in class com.googlecode.objectify.ObjectifyFactory
-
Some useful bits for working with keys
- keys() - Method in interface com.googlecode.objectify.cmd.SimpleQuery
-
Switches to a keys-only query.
- keys() - Method in class com.googlecode.objectify.impl.Session
- keys() - Method in class com.googlecode.objectify.impl.SimpleQueryImpl
- keys() - Method in class com.googlecode.objectify.ObjectifyFactory
-
Some tools for working with keys.
- keys(Key<?>...) - Method in interface com.googlecode.objectify.cmd.DeferredDeleter
-
Convenient substitute for keys(Iterable)
- keys(Key<?>...) - Method in interface com.googlecode.objectify.cmd.Deleter
-
Convenient substitute for keys(Iterable)
- keys(Key<?>...) - Method in class com.googlecode.objectify.impl.DeleterImpl
- keys(Key<? extends E>...) - Method in interface com.googlecode.objectify.cmd.Loader
-
A convenient substitute for keys(Iterable)
- keys(Key<? extends E>...) - Method in class com.googlecode.objectify.impl.LoaderImpl
- keys(Iterable<? extends Key<?>>) - Method in interface com.googlecode.objectify.cmd.DeferredDeleter
-
Defer deletion of specific entities.
- keys(Iterable<? extends Key<?>>) - Method in interface com.googlecode.objectify.cmd.Deleter
-
Begin asynchronous deletion of specific entities.
- keys(Iterable<? extends Key<?>>) - Method in class com.googlecode.objectify.impl.DeleterImpl
- keys(Iterable<Key<E>>) - Method in interface com.googlecode.objectify.cmd.Loader
-
Load multiple entities by key from the datastore in a batch.
- keys(Iterable<Key<E>>) - Method in class com.googlecode.objectify.impl.LoaderImpl
- Keys - Class in com.googlecode.objectify.impl
-
Gives us a slightly more organized interface for manipulating keys.
- Keys(Registrar) - Constructor for class com.googlecode.objectify.impl.Keys
- KeySerializer - Class in com.googlecode.objectify.util.jackson
-
Configuring this serializer will make Key> objects render as their web-safe string.
- KeySerializer() - Constructor for class com.googlecode.objectify.util.jackson.KeySerializer
- keysIterable() - Method in class com.googlecode.objectify.impl.QueryImpl
-
Get an iterator over the keys.
- keysOf(Iterable<EntityMemcache.Bucket>) - Static method in class com.googlecode.objectify.cache.EntityMemcache
-
Basically a list comprehension of the keys for convenience.
- KeyStringifier - Class in com.googlecode.objectify.stringifier
-
Converts Objectify Key>s to String.
- KeyStringifier() - Constructor for class com.googlecode.objectify.stringifier.KeyStringifier
- KeyTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Knows how to convert Key> objects to datastore-native Key objects and vice-versa.
- KeyTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.KeyTranslatorFactory
- kind(String) - Method in interface com.googlecode.objectify.cmd.Loader
-
Restricts the find operation to entities of a particular kind.
- kind(String) - Method in class com.googlecode.objectify.impl.LoaderImpl
L
- LifecycleMethod - Class in com.googlecode.objectify.impl.translate
-
A lifecycle method that can be executed on a POJO
- LifecycleMethod(Method) - Constructor for class com.googlecode.objectify.impl.translate.LifecycleMethod
- limit(int) - Method in interface com.googlecode.objectify.cmd.Query
- limit(int) - Method in interface com.googlecode.objectify.cmd.SimpleQuery
-
Limit the fetched result set to a certain number of values.
- limit(int) - Method in class com.googlecode.objectify.impl.SimpleQueryImpl
- list() - Method in interface com.googlecode.objectify.cmd.QueryExecute
-
Execute the query and get the results as a List.
- list() - Method in class com.googlecode.objectify.impl.QueryImpl
- listenForCommit(Runnable) - Method in class com.googlecode.objectify.impl.TransactionImpl
-
Add a listener to be called after the transaction commits.
- LiveRef<T> - Class in com.googlecode.objectify.impl.ref
-
Implementation of Refs which are "live" and connected to the datastore so they can fetch entity values even if they have not already been loaded.
- LiveRef() - Constructor for class com.googlecode.objectify.impl.ref.LiveRef
-
For GWT serialization
- LiveRef(Key<T>) - Constructor for class com.googlecode.objectify.impl.ref.LiveRef
-
Create a Ref based on the key
- LiveRef(Key<T>, Objectify) - Constructor for class com.googlecode.objectify.impl.ref.LiveRef
-
Create a Ref based on the key, with the specified session
- load() - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- load() - Method in interface com.googlecode.objectify.Objectify
-
Start a load command chain.
- load(Entity, LoadContext) - Method in class com.googlecode.objectify.impl.EntityMetadata
-
Converts an entity to an object of the appropriate type for this metadata structure.
- load(Entity, LoadContext) - Method in class com.googlecode.objectify.impl.LoadEngine
-
Converts a datastore entity into a typed pojo object
- load(PropertyContainer, LoadContext, Path) - Method in class com.googlecode.objectify.impl.translate.EmbeddedCreator
- load(PropertyContainer, LoadContext, Path) - Method in class com.googlecode.objectify.impl.translate.EntityCreator
- load(PropertyContainer, LoadContext, Path) - Method in class com.googlecode.objectify.impl.translate.EntityTranslator
- load(PropertyContainer, LoadContext, Path, Object) - Method in class com.googlecode.objectify.impl.PropertyPopulator
-
Gets the appropriate value from the container and sets it on the appropriate field of the pojo.
- load(PropertyContainer, LoadContext, Path, Object) - Method in class com.googlecode.objectify.impl.translate.NullPopulator
- load(PropertyContainer, LoadContext, Path, P) - Method in class com.googlecode.objectify.impl.translate.ClassPopulator
- load(PropertyContainer, LoadContext, Path, P) - Method in interface com.googlecode.objectify.impl.translate.Populator
-
Loads the content of the specified datastore node, returning the pojo equivalent.
- load(Key<T>) - Method in class com.googlecode.objectify.impl.LoadEngine
-
Gets the result, possibly from the session, putting it in the session if necessary.
- load(D, LoadContext, Path) - Method in class com.googlecode.objectify.impl.translate.NullSafeTranslator
- load(D, LoadContext, Path) - Method in interface com.googlecode.objectify.impl.translate.Translator
-
Loads the content of the specified datastore node, returning the pojo equivalent.
- load(D, LoadContext, Path) - Method in class com.googlecode.objectify.impl.translate.TranslatorRecycles
- Load - Annotation Type in com.googlecode.objectify.annotation
-
Placed on an entity field of type Ref>, this will cause Objectify to fetch that entity when the containing entity is loaded.
- loadArrangement - Variable in class com.googlecode.objectify.impl.LoaderImpl
- LoadArrangement - Class in com.googlecode.objectify.impl
-
Simple typedef to keep the code sane.
- LoadArrangement() - Constructor for class com.googlecode.objectify.impl.LoadArrangement
- LoadConditions - Class in com.googlecode.objectify.impl
-
A 'brain' class that determines whether or not refs should be loaded.
- LoadConditions(Load, Parent) - Constructor for class com.googlecode.objectify.impl.LoadConditions
- LoadContext - Class in com.googlecode.objectify.impl.translate
-
The context of a load operation, which may extend across several entities (for example, a batch).
- LoadContext(LoadEngine) - Constructor for class com.googlecode.objectify.impl.translate.LoadContext
- LoadEngine - Class in com.googlecode.objectify.impl
-
Represents one "batch" of loading.
- LoadEngine(ObjectifyImpl<?>, Session, AsyncDatastoreService, LoadArrangement) - Constructor for class com.googlecode.objectify.impl.LoadEngine
- loader - Variable in class com.googlecode.objectify.impl.QueryEngine
- loader - Variable in class com.googlecode.objectify.impl.SimpleQueryImpl
- Loader - Interface in com.googlecode.objectify.cmd
-
The top element in the command chain for retrieving entities from the datastore.
- LoaderImpl<L extends Loader> - Class in com.googlecode.objectify.impl
-
Implementation of the Loader interface.
- LoaderImpl(ObjectifyImpl<?>) - Constructor for class com.googlecode.objectify.impl.LoaderImpl
- LoadException - Exception in com.googlecode.objectify
-
Thrown when something went wrong during the load translation process; for example, the data in the datastore might be in a format incompatible with the intended pojo field.
- LoadException(Entity, String, Throwable) - Constructor for exception com.googlecode.objectify.LoadException
-
Constructor to use when you're saving an entity with a known key
- LoadIds<T> - Interface in com.googlecode.objectify.cmd
-
Terminator methods for a fetch-by-key command chain which constructs the key implicitly from type, id, and (optionally) parent.
- loadInto(D, LoadContext, Path, P) - Method in class com.googlecode.objectify.impl.translate.TranslatorRecycles
- loadRef(Key<T>, LoadConditions) - Method in class com.googlecode.objectify.impl.translate.LoadContext
-
Create a Ref for the key, and maybe start a load operation depending on current load groups.
- LoadResult<T> - Class in com.googlecode.objectify
-
Enhances the basic Result> with some additional methods useful when loading data.
- LoadResult(Key<T>, Result<T>) - Constructor for class com.googlecode.objectify.LoadResult
- loadSafe(PropertyContainer, LoadContext, Path) - Method in class com.googlecode.objectify.impl.translate.ClassTranslator
- loadSafe(D, LoadContext, Path) - Method in class com.googlecode.objectify.impl.translate.NullSafeTranslator
-
Implement this, returning a proper translated value
- loadSafe(D, LoadContext, Path) - Method in class com.googlecode.objectify.impl.translate.ProjectionSafeTranslator
- loadSafe2(D, LoadContext, Path) - Method in class com.googlecode.objectify.impl.translate.ProjectionSafeTranslator
-
Decode from a property value as stored in the datastore to a type that will be stored in a pojo.
- loadSafe2(D, LoadContext, Path) - Method in class com.googlecode.objectify.impl.translate.ValueTranslator
- LoadType<T> - Interface in com.googlecode.objectify.cmd
-
Once you have narrowed your interest to a type (via
load().type(SomeType.class)
), the command pattern can diverge into two directions: Either defining a parent or ids (which corresponds to a batch get) or calling query-related methods (which will produce a query). - loadValue(D, LoadContext, Path) - Method in class com.googlecode.objectify.impl.translate.ValueTranslator
-
Decode from a property value as stored in the datastore to a type that will be stored in a pojo.
- loadWith(LoadArrangement) - Method in class com.googlecode.objectify.impl.SessionValue
- LogUtils - Class in com.googlecode.objectify.util
-
Static methods that help out making log messages.
M
- makeFilterable(Object) - Method in class com.googlecode.objectify.impl.ObjectifyImpl
-
Translates the value of a filter clause into something the datastore understands.
- MakeListResult<T> - Class in com.googlecode.objectify.util
-
Simple ResultTranslator that converts from an Iterable to a List.
- MakeListResult(Iterator<T>) - Constructor for class com.googlecode.objectify.util.MakeListResult
- makeRef(Key<?>, LoadConditions, Key<T>) - Method in class com.googlecode.objectify.impl.LoadEngine
-
Create a Ref for the key, and maybe start a load operation depending on current load groups.
- MANDATORY - com.googlecode.objectify.TxnType
-
Require that there must already be a transaction running.
- mandatoryTransactions - Variable in class com.googlecode.objectify.impl.ObjectifyImpl
- mandatoryTransactions(boolean) - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- mandatoryTransactions(boolean) - Method in interface com.googlecode.objectify.Objectify
-
Provides a new Objectify instance which throws an exception whenever save() or delete() is called from outside a transaction context.
- Mapify - Annotation Type in com.googlecode.objectify.annotation
-
This annotation causes collection fields to be converted into a map by selecting out a key field of your choosing.
- MapifyTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
This takes a datastore collection and converts it to a POJO Map by letting you select out the key value using a class of your own devising.
- MapifyTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.MapifyTranslatorFactory
- Mapper<K,V> - Interface in com.googlecode.objectify.mapper
-
Used with the @Mapify annotation to convert collections (usually of embedded objects) into maps with arbitrary keys.
- matchesPojo(Object) - Method in class com.googlecode.objectify.condition.Always
- matchesPojo(Object) - Method in class com.googlecode.objectify.condition.ValueIf
- matchesPojo(P) - Method in interface com.googlecode.objectify.condition.If
-
Override this method to test a whole pojo for your condition.
- matchesValue(Boolean) - Method in class com.googlecode.objectify.condition.IfFalse
- matchesValue(Boolean) - Method in class com.googlecode.objectify.condition.IfTrue
- matchesValue(Number) - Method in class com.googlecode.objectify.condition.IfNotZero
- matchesValue(Number) - Method in class com.googlecode.objectify.condition.IfZero
- matchesValue(Object) - Method in class com.googlecode.objectify.condition.Always
- matchesValue(Object) - Method in class com.googlecode.objectify.condition.IfDefault
- matchesValue(Object) - Method in class com.googlecode.objectify.condition.IfEmpty
- matchesValue(Object) - Method in class com.googlecode.objectify.condition.IfNotDefault
- matchesValue(Object) - Method in class com.googlecode.objectify.condition.IfNotEmpty
- matchesValue(Object) - Method in class com.googlecode.objectify.condition.IfNotNull
- matchesValue(Object) - Method in class com.googlecode.objectify.condition.IfNull
- matchesValue(Object) - Method in class com.googlecode.objectify.condition.PojoIf
- matchesValue(String) - Method in class com.googlecode.objectify.condition.IfEmptyString
- matchesValue(V) - Method in interface com.googlecode.objectify.condition.If
-
Test a simple property value.
- MAX_STRING_BYTES - Static variable in class com.googlecode.objectify.impl.translate.StringTranslatorFactory
-
Maximum number of BYTES we can store in a String before we have to convert to Text.
- MEMCACHE_NAMESPACE - Static variable in class com.googlecode.objectify.ObjectifyFactory
-
Default memcache namespace
- MemcacheServiceRetryProxy - Class in com.googlecode.objectify.cache
-
Dynamic proxy which wraps a MemcacheService and adds retries when an exception occurs.
- MemcacheServiceRetryProxy(MemcacheService, int) - Constructor for class com.googlecode.objectify.cache.MemcacheServiceRetryProxy
- memcacheStats - Variable in class com.googlecode.objectify.ObjectifyFactory
-
Tracks stats
- MemcacheStats - Interface in com.googlecode.objectify.cache
-
Interface for tracking hit rates of the entity memcache.
- MemcacheStatsServlet - Class in com.googlecode.objectify.util
-
If you are using the ObjectifyService static factory, you can mount this servlet to see the memcache stats for an instance.
- MemcacheStatsServlet() - Constructor for class com.googlecode.objectify.util.MemcacheStatsServlet
- MergeFuture<K,V> - Class in com.googlecode.objectify.cache
-
A Future which merges some previously loaded values with the results of another Future that is in progress.
- MergeFuture(Map<K, V>, Future<Map<K, V>>) - Constructor for class com.googlecode.objectify.cache.MergeFuture
- MethodProperty - Class in com.googlecode.objectify.impl
-
Property which encapsulates a method with an @AlsoLoad parameter.
- MethodProperty(Method) - Constructor for class com.googlecode.objectify.impl.MethodProperty
- MoneyStringTranslatorFactory - Class in com.googlecode.objectify.impl.translate.opt.joda
-
Stores Money as its string representation.
- MoneyStringTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.opt.joda.MoneyStringTranslatorFactory
- msg(Path, String) - Static method in class com.googlecode.objectify.util.LogUtils
-
Create a log a message for a given path
- MultimapList<K,V> - Class in com.googlecode.objectify.util
-
Multimap that stores values in an ArrayList.
- MultimapList() - Constructor for class com.googlecode.objectify.util.MultimapList
N
- name() - Method in annotation type com.googlecode.objectify.annotation.Entity
-
Controls the actual kind name used in the datastore.
- name() - Method in annotation type com.googlecode.objectify.annotation.Subclass
-
Optionally define the discriminator value for the subclass; default is Class.getSimpleName()
- NEGATIVE - Static variable in class com.googlecode.objectify.cache.EntityMemcache
-
The value stored in the memcache for a negative cache result.
- NEVER - com.googlecode.objectify.TxnType
-
Require that there must NOT be a transaction running.
- newInstance(Constructor<T>, Object...) - Static method in class com.googlecode.objectify.impl.TypeUtils
-
Checked exceptions are LAME.
- next() - Method in class com.googlecode.objectify.impl.Chunk
- next() - Method in class com.googlecode.objectify.impl.ChunkingIterator
- next() - Method in class com.googlecode.objectify.impl.ChunkIterator
- next() - Method in class com.googlecode.objectify.util.cmd.QueryResultIteratorWrapper
- next() - Method in class com.googlecode.objectify.util.TranslatingIterator
- NOT_SUPPORTED - com.googlecode.objectify.TxnType
-
Execute the work without a transaction, pausing an existing transaction if there is one.
- NotFoundException - Exception in com.googlecode.objectify
-
Exception thrown when a fetch for something could not be found.
- NotFoundException() - Constructor for exception com.googlecode.objectify.NotFoundException
-
Thrown when there is no key context (eg, query.first() on an empty result set)
- NotFoundException(Key<?>) - Constructor for exception com.googlecode.objectify.NotFoundException
-
Thrown when we at least know what we are looking for!
- now() - Method in class com.googlecode.objectify.impl.ResultAdapter
- now() - Method in class com.googlecode.objectify.LoadResult
-
Obtain the loaded value now.
- now() - Method in interface com.googlecode.objectify.Result
-
Waits if necessary for the computation to complete, and then retrieves its result.
- now() - Method in class com.googlecode.objectify.util.ResultCache
- now() - Method in class com.googlecode.objectify.util.ResultNow
- now(Key<E>) - Method in interface com.googlecode.objectify.cmd.Loader
-
Get the entity for a key immediately.
- now(Key<E>) - Method in class com.googlecode.objectify.impl.LoaderImpl
- nowUncached() - Method in class com.googlecode.objectify.util.IteratorFirstResult
- nowUncached() - Method in class com.googlecode.objectify.util.ResultCache
- nowUncached() - Method in class com.googlecode.objectify.util.ResultTranslator
- NullPopulator - Class in com.googlecode.objectify.impl.translate
-
Populator which does nothing.
- NullPopulator() - Constructor for class com.googlecode.objectify.impl.translate.NullPopulator
- NullSafeTranslator<P,D> - Class in com.googlecode.objectify.impl.translate
-
Handles null checking so we don't have to do it everywhere.
- NullSafeTranslator() - Constructor for class com.googlecode.objectify.impl.translate.NullSafeTranslator
- NullStringifier - Class in com.googlecode.objectify.stringifier
-
No-op stringifier used as a null object.
- NullStringifier() - Constructor for class com.googlecode.objectify.stringifier.NullStringifier
- NumberTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Numbers are funky in the datastore.
- NumberTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.NumberTranslatorFactory
O
- Objectify - Interface in com.googlecode.objectify
-
This is the main "business end" of Objectify.
- ObjectifyFactory - Class in com.googlecode.objectify
-
Factory which allows us to construct implementations of the Objectify interface.
- ObjectifyFactory() - Constructor for class com.googlecode.objectify.ObjectifyFactory
- ObjectifyFilter - Class in com.googlecode.objectify
-
Configure this filter to use Objectify in your application.
- ObjectifyFilter() - Constructor for class com.googlecode.objectify.ObjectifyFilter
- ObjectifyImpl<O extends Objectify> - Class in com.googlecode.objectify.impl
-
Implementation of the Objectify interface.
- ObjectifyImpl(ObjectifyImpl<O>) - Constructor for class com.googlecode.objectify.impl.ObjectifyImpl
-
Copy constructor
- ObjectifyImpl(ObjectifyFactory) - Constructor for class com.googlecode.objectify.impl.ObjectifyImpl
- ObjectifyJacksonModule - Class in com.googlecode.objectify.util.jackson
-
Call jackson's
ObjectMapper.registerModule(new ObjectifyJacksonModule())
to enable intelligent serialization and deserialization of various Objectify and GAE classes. - ObjectifyJacksonModule() - Constructor for class com.googlecode.objectify.util.jackson.ObjectifyJacksonModule
- ObjectifyService - Class in com.googlecode.objectify
-
Holder of the master ObjectifyFactory and provider of the current thread-local Objectify instance.
- ObjectifyService() - Constructor for class com.googlecode.objectify.ObjectifyService
- of(Path) - Static method in class com.googlecode.objectify.impl.ForwardPath
-
Recursive method which reverses the path into a ForwardPath.
- offset(int) - Method in interface com.googlecode.objectify.cmd.Query
- offset(int) - Method in interface com.googlecode.objectify.cmd.SimpleQuery
-
Starts the query results at a particular zero-based offset.
- offset(int) - Method in class com.googlecode.objectify.impl.SimpleQueryImpl
- ofy - Variable in class com.googlecode.objectify.impl.LoaderImpl
- ofy - Variable in class com.googlecode.objectify.impl.ref.LiveRef
-
So that Refs can be associated with a session
- ofy - Variable in class com.googlecode.objectify.impl.WriteEngine
- ofy() - Static method in class com.googlecode.objectify.ObjectifyService
-
The method to call at any time to get the current Objectify, which may change depending on txn context
- OnLoad - Annotation Type in com.googlecode.objectify.annotation
-
When placed on a method on a POJO entity, that method will be called just after being loaded from the datastore.
- OnSave - Annotation Type in com.googlecode.objectify.annotation
-
When placed on a method on a POJO entity, that method will be called just prior to being saved in the datastore.
- order(String) - Method in interface com.googlecode.objectify.cmd.Query
-
Sorts based on a property.
- order(String) - Method in class com.googlecode.objectify.impl.QueryImpl
- orderKey(boolean) - Method in interface com.googlecode.objectify.cmd.Query
-
Shorthand for
order("__key__")
ororder("-__key__")
- orderKey(boolean) - Method in interface com.googlecode.objectify.cmd.SimpleQuery
-
Orders results by the key.
- orderKey(boolean) - Method in class com.googlecode.objectify.impl.SimpleQueryImpl
P
- parameterizedClass(Class<?>, Type...) - Static method in class com.googlecode.objectify.repackaged.gentyref.TypeFactory
-
Creates a type of class clazz with arguments as type arguments.
- parameterizedInnerClass(Type, Class<?>, Type...) - Static method in class com.googlecode.objectify.repackaged.gentyref.TypeFactory
-
Creates a type of clazz with arguments as type arguments, nested in owner.
- parent - Variable in class com.googlecode.objectify.Key
-
Cache the instance of the parent wrapper to avoid unnecessary garbage
- parent(Object) - Method in interface com.googlecode.objectify.cmd.DeferredDeleteType
-
Defines the parent part of a key (or set of keys) when building a delete request.
- parent(Object) - Method in interface com.googlecode.objectify.cmd.DeleteType
-
Defines the parent part of a key (or set of keys) when building a delete request.
- parent(Object) - Method in interface com.googlecode.objectify.cmd.LoadType
-
Define a parent for a get-by-key operation.
- Parent - Annotation Type in com.googlecode.objectify.annotation
-
When placed on an entity field of type Key, the key will be used as the parent ancestor for entity grouping.
- parentTransactor - Variable in class com.googlecode.objectify.impl.TransactorYes
-
The non-transactional transactor that spawned us
- Path - Class in com.googlecode.objectify.impl
-
Path represents the individual steps from the root object to the current property.
- PendingFutures - Class in com.googlecode.objectify.cache
-
This class maintains a thread local list of all the outstanding Future> objects that have pending triggers.
- PendingFutures() - Constructor for class com.googlecode.objectify.cache.PendingFutures
- PojoIf<P> - Class in com.googlecode.objectify.condition
-
Base class for If classes that test against a whole POJO object.
- PojoIf() - Constructor for class com.googlecode.objectify.condition.PojoIf
- pop() - Static method in class com.googlecode.objectify.ObjectifyService
-
Pops context off of stack after a transaction completes.
- Populator<P> - Interface in com.googlecode.objectify.impl.translate
-
A populator knows how to copy properties between POJO objects and a PropertiesContainer.
- postExecuteHook() - Method in class com.googlecode.objectify.util.ResultCache
-
Executed once after the cached value is assigned.
- prepare(Query) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- prepare(Query) - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- prepare(Transaction, Query) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- prepare(Transaction, Query) - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- project(String...) - Method in interface com.googlecode.objectify.cmd.Query
- project(String...) - Method in interface com.googlecode.objectify.cmd.SimpleQuery
-
Converts this query into a projection query.
- project(String...) - Method in class com.googlecode.objectify.impl.SimpleQueryImpl
- ProjectionIterator<T> - Class in com.googlecode.objectify.impl
-
Projections bypass the session entirely, neither loading nor saving.
- ProjectionIterator(QueryResultIterator<Entity>, LoadEngine) - Constructor for class com.googlecode.objectify.impl.ProjectionIterator
- ProjectionSafeTranslator<P,D> - Class in com.googlecode.objectify.impl.translate
-
Watches out for RawValue and performs the necessary conversion if we get one.
- ProjectionSafeTranslator(Class<? extends D>) - Constructor for class com.googlecode.objectify.impl.translate.ProjectionSafeTranslator
- property - Variable in class com.googlecode.objectify.impl.PropertyPopulator
- Property - Interface in com.googlecode.objectify.impl
-
Basic interface so we can wrap fields and methods so they look more or less the same.
- PropertyPopulator<P,D> - Class in com.googlecode.objectify.impl
-
Associates a Property with a Translator and provides a more convenient interface.
- PropertyPopulator(Property, Translator<P, D>) - Constructor for class com.googlecode.objectify.impl.PropertyPopulator
- push(Objectify) - Static method in class com.googlecode.objectify.ObjectifyService
-
Pushes new context onto stack when a transaction starts.
- put(Entity) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- put(Entity) - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- put(Transaction, Entity) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- put(Transaction, Entity) - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- put(Transaction, Iterable<Entity>) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- put(Transaction, Iterable<Entity>) - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- put(Iterable<Entity>) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreService
- put(Iterable<Entity>) - Method in class com.googlecode.objectify.cache.CachingDatastoreService
- putAll(Collection<EntityMemcache.Bucket>) - Method in class com.googlecode.objectify.cache.EntityMemcache
-
Update a set of buckets with new values.
- putAll(Map<Key, Object>) - Method in class com.googlecode.objectify.cache.KeyMemcacheService
- putIfUntouched(Map<Key, MemcacheService.CasValues>) - Method in class com.googlecode.objectify.cache.KeyMemcacheService
Q
- Query<T> - Interface in com.googlecode.objectify.cmd
-
The basic options for a typed Query.
- queryCount(Query, FetchOptions) - Method in class com.googlecode.objectify.impl.QueryEngine
-
The fundamental query count operation.
- QueryEngine - Class in com.googlecode.objectify.impl
-
Logic for dealing with queries.
- QueryEngine(LoaderImpl<?>, AsyncDatastoreService, Transaction) - Constructor for class com.googlecode.objectify.impl.QueryEngine
- QueryExecute<T> - Interface in com.googlecode.objectify.cmd
-
Most of the various methods that can end the definition of a query and start execution.
- queryHybrid(Query, FetchOptions) - Method in class com.googlecode.objectify.impl.QueryEngine
-
Perform a keys-only plus batch gets.
- QueryImpl<T> - Class in com.googlecode.objectify.impl
-
Implementation of Query.
- QueryKeys<T> - Interface in com.googlecode.objectify.cmd
-
After you call Query.keys(), you are executing a keys-only query.
- queryKeysOnly(Query, FetchOptions) - Method in class com.googlecode.objectify.impl.QueryEngine
-
Perform a keys-only query.
- queryNormal(Query, FetchOptions) - Method in class com.googlecode.objectify.impl.QueryEngine
-
A normal, non-hybrid query
- queryProjection(Query, FetchOptions) - Method in class com.googlecode.objectify.impl.QueryEngine
-
A projection query.
- QueryResultIteratorWrapper<T> - Class in com.googlecode.objectify.util.cmd
-
Simple wrapper/decorator for a QueryResultIterator.
- QueryResultIteratorWrapper(QueryResultIterator<T>) - Constructor for class com.googlecode.objectify.util.cmd.QueryResultIteratorWrapper
- quietGet(Future<T>) - Static method in class com.googlecode.objectify.util.FutureHelper
-
Quietly perform the get() on a future
R
- raw - Variable in class com.googlecode.objectify.cache.TriggerFuture
-
Wrap the raw Future>
- raw - Variable in class com.googlecode.objectify.Key
- RawKeyDeserializer - Class in com.googlecode.objectify.util.jackson
-
Will deserialize a google native datastore Key that was serialized with the RawKeySerializer
- RawKeyDeserializer() - Constructor for class com.googlecode.objectify.util.jackson.RawKeyDeserializer
- RawKeyKeySerializer - Class in com.googlecode.objectify.util.jackson
-
Configuring this serializer will make native datastore Key objects render as their web-safe string *when they are used as Map keys*.
- RawKeyKeySerializer() - Constructor for class com.googlecode.objectify.util.jackson.RawKeyKeySerializer
- rawKeyOf(Object) - Method in class com.googlecode.objectify.impl.Keys
- RawKeySerializer - Class in com.googlecode.objectify.util.jackson
-
Configuring this serializer will make native datastore Key objects render as their web-safe string.
- RawKeySerializer() - Constructor for class com.googlecode.objectify.util.jackson.RawKeySerializer
- ReadableInstantTranslatorFactory - Class in com.googlecode.objectify.impl.translate.opt.joda
-
Converts Joda ReadableInstants (DateTime, DateMidnight, etc) into java.util.Date
- ReadableInstantTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.opt.joda.ReadableInstantTranslatorFactory
- ReadablePartialTranslatorFactory - Class in com.googlecode.objectify.impl.translate.opt.joda
-
Converts Joda ReadablePartials (LocalDate, LocalDateTime, YearMonth, etc) into String (ISO-8601) representation
- ReadablePartialTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.opt.joda.ReadablePartialTranslatorFactory
- recordHit(Key) - Method in interface com.googlecode.objectify.cache.MemcacheStats
- recordHit(Key) - Method in class com.googlecode.objectify.impl.EntityMemcacheStats
- recordMiss(Key) - Method in interface com.googlecode.objectify.cache.MemcacheStats
- recordMiss(Key) - Method in class com.googlecode.objectify.impl.EntityMemcacheStats
- recycle(Object) - Method in class com.googlecode.objectify.impl.translate.LoadContext
- Recycles - Interface in com.googlecode.objectify.impl.translate
-
Marker interface for a translator that indicates that, when loading, it is sensitive to the previously existing value in a field.
- ref(Ref<E>) - Method in interface com.googlecode.objectify.cmd.Loader
-
Load a single entity ref.
- ref(Ref<E>) - Method in class com.googlecode.objectify.impl.LoaderImpl
- Ref<T> - Class in com.googlecode.objectify
-
Ref> is a Key> which allows the entity value to be fetched directly.
- Ref() - Constructor for class com.googlecode.objectify.Ref
-
For GWT serialization
- Ref(Key<T>) - Constructor for class com.googlecode.objectify.Ref
-
Create a Ref based on the key, with the specified session
- RefDeserializer - Class in com.googlecode.objectify.util.jackson
-
Will deserialize an Objectify Ref> that was serialized with the RefSerializer.
- RefDeserializer() - Constructor for class com.googlecode.objectify.util.jackson.RefDeserializer
- RefKeySerializer - Class in com.googlecode.objectify.util.jackson
-
Like RefSerializer, but handles Refs when they are used as Map keys.
- RefKeySerializer() - Constructor for class com.googlecode.objectify.util.jackson.RefKeySerializer
- refs(Ref<? extends E>...) - Method in interface com.googlecode.objectify.cmd.Loader
-
A convenient substitute for refs(Iterable)
- refs(Ref<? extends E>...) - Method in class com.googlecode.objectify.impl.LoaderImpl
- refs(Iterable<Ref<E>>) - Method in interface com.googlecode.objectify.cmd.Loader
-
Load multiple refs in a batch operation.
- refs(Iterable<Ref<E>>) - Method in class com.googlecode.objectify.impl.LoaderImpl
- RefSerializer - Class in com.googlecode.objectify.util.jackson
-
Serializing Ref> is a little complicated - if we have a loaded value, render it as-is, but if not, just render the key string.
- RefSerializer() - Constructor for class com.googlecode.objectify.util.jackson.RefSerializer
- RefTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Knows how to convert Ref> objects to datastore-native Key objects and vice-versa.
- RefTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.RefTranslatorFactory
- register(Class<?>) - Static method in class com.googlecode.objectify.ObjectifyService
-
A shortcut for
ObjectifyFactory.register()
- register(Class<T>) - Method in class com.googlecode.objectify.impl.Registrar
-
All @Entity and @Subclass classes (for both entity and embedded classes) must be registered before using Objectify to load or save data.
- register(Class<T>) - Method in class com.googlecode.objectify.ObjectifyFactory
-
All POJO entity classes which are to be managed by Objectify must be registered first.
- registerSubclass(ClassTranslator<? extends P>) - Method in class com.googlecode.objectify.impl.translate.ClassTranslator
-
Register a subclass translator with this class translator.
- registrar - Variable in class com.googlecode.objectify.ObjectifyFactory
-
Encapsulates entity registration info
- Registrar - Class in com.googlecode.objectify.impl
-
Maintains information about registered entity classes
- Registrar(ObjectifyFactory) - Constructor for class com.googlecode.objectify.impl.Registrar
- remove() - Method in class com.googlecode.objectify.impl.Chunk
- remove() - Method in class com.googlecode.objectify.impl.ChunkingIterator
-
Not implemented
- remove() - Method in class com.googlecode.objectify.impl.ChunkIterator
- remove() - Method in class com.googlecode.objectify.util.cmd.QueryResultIteratorWrapper
- remove() - Method in class com.googlecode.objectify.util.TranslatingIterator
- removePending(Future<?>) - Static method in class com.googlecode.objectify.cache.PendingFutures
-
Deregister a pending Future that had a callback.
- REQUIRED - com.googlecode.objectify.TxnType
-
Use the existing transaction (if present), or start a new transaction if not.
- REQUIRES_NEW - com.googlecode.objectify.TxnType
-
Start a new transaction, pausing the old one.
- requiresAutogeneratedId(Object) - Method in class com.googlecode.objectify.impl.Keys
- requiresAutogeneratedId(P) - Method in class com.googlecode.objectify.impl.KeyMetadata
-
Change this slightly to just a null check on the id so that null String will be allowed.
- Result<T> - Interface in com.googlecode.objectify
-
This interface provides a return value for asynchronous Objectify calls, nearly the same as
java.util.concurrent.Future
. - ResultAdapter<T> - Class in com.googlecode.objectify.impl
-
Adapts a Future object to a (much more convenient) Result object.
- ResultAdapter(Future<T>) - Constructor for class com.googlecode.objectify.impl.ResultAdapter
- ResultCache<T> - Class in com.googlecode.objectify.util
-
Caches a result value so it is only executed once
- ResultCache() - Constructor for class com.googlecode.objectify.util.ResultCache
- ResultNow<T> - Class in com.googlecode.objectify.util
-
Simplistic result that holds a constant value.
- ResultNow(T) - Constructor for class com.googlecode.objectify.util.ResultNow
- ResultNowFunction<T> - Class in com.googlecode.objectify.util
-
Simple function that extracts the value of a Result>
- ResultNowFunction() - Constructor for class com.googlecode.objectify.util.ResultNowFunction
- ResultProxy<T> - Class in com.googlecode.objectify.util
-
A dynamic proxy that wraps a Result> value.
- ResultTranslator<F,T> - Class in com.googlecode.objectify.util
-
Translates from one arbitrary thing to a Result of another arbitrary thing, caching the value.
- ResultTranslator(F) - Constructor for class com.googlecode.objectify.util.ResultTranslator
- ResultWithCursor<T> - Class in com.googlecode.objectify.impl
-
Associates a result value with a base cursor + offset to this particular item.
- ResultWithCursor(Cursor, int, T, boolean) - Constructor for class com.googlecode.objectify.impl.ResultWithCursor
- ResultWrapper<F,T> - Class in com.googlecode.objectify.util
-
Wraps a Result, translating from one type to another and caching the result
- ResultWrapper(Result<F>) - Constructor for class com.googlecode.objectify.util.ResultWrapper
- reverse() - Method in interface com.googlecode.objectify.cmd.Query
- reverse() - Method in interface com.googlecode.objectify.cmd.SimpleQuery
-
Reverse the query, as described in the GAE docs.
- reverse() - Method in class com.googlecode.objectify.impl.SimpleQueryImpl
- rollback() - Method in class com.googlecode.objectify.util.cmd.TransactionWrapper
- rollbackAsync() - Method in class com.googlecode.objectify.util.cmd.TransactionWrapper
- root() - Static method in class com.googlecode.objectify.impl.Path
- run() - Method in class com.googlecode.objectify.VoidWork
- run() - Method in interface com.googlecode.objectify.Work
- run(Work<R>) - Static method in class com.googlecode.objectify.ObjectifyService
-
Runs one unit of work, making the root Objectify context available.
- runCommitListeners() - Method in class com.googlecode.objectify.impl.TransactionImpl
S
- safe() - Method in class com.googlecode.objectify.LoadResult
-
Like now(), but throws NotFoundException instead of returning null.
- safe() - Method in class com.googlecode.objectify.Ref
-
Obtain the entity value, throwing an exception if the entity was not found.
- SAFE_STRING_CHARS - Static variable in class com.googlecode.objectify.impl.translate.StringTranslatorFactory
-
Google isn't explicit that UTF-8 encoding is used, but it's a safe assumption.
- save() - Method in interface com.googlecode.objectify.cmd.Deferred
-
Start a deferred save command chain.
- save() - Method in class com.googlecode.objectify.impl.DeferredImpl
- save() - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- save() - Method in interface com.googlecode.objectify.Objectify
-
Start a save command chain.
- save(Iterable<? extends E>) - Method in class com.googlecode.objectify.impl.WriteEngine
-
The fundamental put() operation.
- save(Object, boolean, SaveContext, Path) - Method in class com.googlecode.objectify.impl.translate.EntityTranslator
- save(Object, boolean, SaveContext, Path, PropertyContainer) - Method in class com.googlecode.objectify.impl.PropertyPopulator
-
Gets the appropriate field value from the pojo and puts it in the container at the appropriate prop name and with the appropriate indexing.
- save(Object, boolean, SaveContext, Path, PropertyContainer) - Method in class com.googlecode.objectify.impl.translate.NullPopulator
- save(P, boolean, SaveContext, Path) - Method in class com.googlecode.objectify.impl.translate.EmbeddedCreator
- save(P, boolean, SaveContext, Path) - Method in class com.googlecode.objectify.impl.translate.EntityCreator
- save(P, boolean, SaveContext, Path) - Method in class com.googlecode.objectify.impl.translate.NullSafeTranslator
- save(P, boolean, SaveContext, Path) - Method in interface com.googlecode.objectify.impl.translate.Translator
-
Translates a pojo (or some component thereof) into a format suitable for storage in the datastore.
- save(P, boolean, SaveContext, Path, PropertyContainer) - Method in class com.googlecode.objectify.impl.translate.ClassPopulator
- save(P, boolean, SaveContext, Path, PropertyContainer) - Method in interface com.googlecode.objectify.impl.translate.Populator
-
Translates a pojo (or some component thereof) into a format suitable for storage in the datastore.
- save(P, SaveContext) - Method in class com.googlecode.objectify.impl.EntityMetadata
-
Converts an object to a datastore Entity with the appropriate Key type.
- SaveContext - Class in com.googlecode.objectify.impl.translate
-
The context of a save operation; might involve multiple entities (eg, batch save).
- SaveContext() - Constructor for class com.googlecode.objectify.impl.translate.SaveContext
- SaveException - Exception in com.googlecode.objectify
-
Thrown when something went wrong during the save translation process.
- SaveException(Object, String, Throwable) - Constructor for exception com.googlecode.objectify.SaveException
-
Constructor to use when you're saving an entity with a known key
- Saver - Interface in com.googlecode.objectify.cmd
-
The top element in the command chain for saving entities in the datastore.
- saveRef(Ref<?>, LoadConditions) - Method in class com.googlecode.objectify.impl.translate.SaveContext
-
Callback that we found a Ref in the object graph.
- SaverImpl - Class in com.googlecode.objectify.impl
-
Implementation of the Put interface.
- SaverImpl(ObjectifyImpl<?>) - Constructor for class com.googlecode.objectify.impl.SaverImpl
- saveSafe(P, boolean, SaveContext, Path) - Method in class com.googlecode.objectify.impl.translate.ClassTranslator
- saveSafe(P, boolean, SaveContext, Path) - Method in class com.googlecode.objectify.impl.translate.NullSafeTranslator
-
Implement this, returning a proper translated value
- saveSafe(P, boolean, SaveContext, Path) - Method in class com.googlecode.objectify.impl.translate.ValueTranslator
- saveValue(P, boolean, SaveContext, Path) - Method in class com.googlecode.objectify.impl.translate.ValueTranslator
-
Encode from a normal pojo value to a format that the datastore understands.
- serialize(BlobKey, JsonGenerator, SerializerProvider) - Method in class com.googlecode.objectify.util.jackson.BlobKeySerializer
- serialize(Key, JsonGenerator, SerializerProvider) - Method in class com.googlecode.objectify.util.jackson.RawKeyKeySerializer
- serialize(Key, JsonGenerator, SerializerProvider) - Method in class com.googlecode.objectify.util.jackson.RawKeySerializer
- serialize(Key, JsonGenerator, SerializerProvider) - Method in class com.googlecode.objectify.util.jackson.KeyKeySerializer
- serialize(Key, JsonGenerator, SerializerProvider) - Method in class com.googlecode.objectify.util.jackson.KeySerializer
- serialize(Ref, JsonGenerator, SerializerProvider) - Method in class com.googlecode.objectify.util.jackson.RefKeySerializer
- serialize(Ref, JsonGenerator, SerializerProvider) - Method in class com.googlecode.objectify.util.jackson.RefSerializer
- Serialize - Annotation Type in com.googlecode.objectify.annotation
-
When placed on an entity field, the field will be written as a single Blob property using java serialization.
- SerializeTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Loader which can load any serialized thing from a Blob.
- SerializeTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.SerializeTranslatorFactory
- session - Variable in class com.googlecode.objectify.impl.Transactor
-
Our session
- session - Variable in class com.googlecode.objectify.impl.WriteEngine
- Session - Class in com.googlecode.objectify.impl
-
The basic session cache.
- Session() - Constructor for class com.googlecode.objectify.impl.Session
- SessionValue<T> - Class in com.googlecode.objectify.impl
-
The information we maintain on behalf of an entity instance in the session cache.
- SessionValue(Result<T>) - Constructor for class com.googlecode.objectify.impl.SessionValue
-
No load arrangement - in other words, this was a save operation
- SessionValue(Result<T>, LoadArrangement) - Constructor for class com.googlecode.objectify.impl.SessionValue
- set(Object, Object) - Method in class com.googlecode.objectify.impl.FieldProperty
- set(Object, Object) - Method in class com.googlecode.objectify.impl.MethodProperty
- set(Object, Object) - Method in interface com.googlecode.objectify.impl.Property
-
Actually set the property (field or method) on an object
- setContainerProperty(PropertyContainer, String, Object, boolean, SaveContext, Path) - Static method in class com.googlecode.objectify.util.DatastoreUtils
-
Calls setProperty() or setUnindexedProperty() as determined by the index parameter.
- setCurrentRoot(Key<?>) - Method in class com.googlecode.objectify.impl.translate.LoadContext
-
Sets the current root entity
- setDefaultMemcacheNamespace(String) - Static method in class com.googlecode.objectify.cache.CachingDatastoreServiceFactory
-
The default namespace is the one used by Objectify for its cache.
- setErrorHandler(ErrorHandler) - Method in class com.googlecode.objectify.cache.EntityMemcache
-
Sets the error handler for the non-retry memcache object.
- setErrorHandler(ErrorHandler) - Method in class com.googlecode.objectify.cache.KeyMemcacheService
- setFactory(ObjectifyFactory) - Static method in class com.googlecode.objectify.ObjectifyService
- setKey(P, PropertyContainer, LoadContext, Path) - Method in class com.googlecode.objectify.impl.KeyMetadata
-
Sets the key (from the container) onto the POJO id/parent fields.
- setLongId(P, Long) - Method in class com.googlecode.objectify.impl.KeyMetadata
-
Sets the numeric id field
- setMemcacheErrorHandler(ErrorHandler) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Sets the error handler for the main memcache object.
- setNext(Entity) - Method in class com.googlecode.objectify.cache.EntityMemcache.Bucket
-
Prepare the value that will be set in memcache in the next putAll().
- setValue(Object, D, LoadContext, Path) - Method in class com.googlecode.objectify.impl.PropertyPopulator
-
Set this raw datastore value on the relevant property of the pojo, doing whatever translations are necessary.
- setValue(T) - Method in class com.googlecode.objectify.util.Holder
- shouldLoad(LoadConditions) - Method in class com.googlecode.objectify.impl.LoadEngine
- shouldLoad(Set<Class<?>>, boolean) - Method in class com.googlecode.objectify.impl.LoadConditions
- shouldLoadParent(Set<Class<?>>) - Method in class com.googlecode.objectify.impl.KeyMetadata
- SimpleFutureWrapper<K,V> - Class in com.googlecode.objectify.util
-
Slightly more convenient than the GAE SDK version.
- SimpleFutureWrapper(Future<K>) - Constructor for class com.googlecode.objectify.util.SimpleFutureWrapper
- SimpleQuery<T> - Interface in com.googlecode.objectify.cmd
-
A restricted set of query operations that apply to both kindless queries and typed queries.
- SimpleQueryImpl<T> - Class in com.googlecode.objectify.impl
-
Base for command classes that include methods for defining a query (filter, order, limit, etc).
- SkipException - Exception in com.googlecode.objectify.impl.translate
-
Thrown by any Translator that wants its value to be skipped.
- SkipException() - Constructor for exception com.googlecode.objectify.impl.translate.SkipException
- skipLifecycle() - Method in class com.googlecode.objectify.impl.translate.SaveContext
-
Subclass can ignore lifecycle methods.
- SqlDateTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
The datastore can't store java.sql.Date, but it can do java.util.Date.
- SqlDateTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.SqlDateTranslatorFactory
- startAt(Cursor) - Method in interface com.googlecode.objectify.cmd.Query
- startAt(Cursor) - Method in interface com.googlecode.objectify.cmd.SimpleQuery
-
Starts query results at the specified Cursor.
- startAt(Cursor) - Method in class com.googlecode.objectify.impl.SimpleQueryImpl
- startOneEntity() - Method in class com.googlecode.objectify.impl.translate.SaveContext
-
Called at the beginning of each entity save.
- Stat() - Constructor for class com.googlecode.objectify.impl.EntityMemcacheStats.Stat
- Stringifier<T> - Interface in com.googlecode.objectify.stringifier
-
Used with the @Stringify annotation to convert arbitrary objects to Strings.
- Stringify - Annotation Type in com.googlecode.objectify.annotation
-
This annotation establishes a Stringifier for a field.
- StringTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Knows how to convert Strings.
- StringTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.StringTranslatorFactory
- stuff(Entity) - Method in class com.googlecode.objectify.impl.LoadEngine
-
Stuffs an Entity into a place where values in the round can be obtained instead of going to the datastore.
- Subclass - Annotation Type in com.googlecode.objectify.annotation
-
Indicates that a class is part of a polymorphic persistence hierarchy.
- success(T) - Method in class com.googlecode.objectify.cache.TriggerSuccessFuture
-
This method will be called ONCE upon successful completion of the future.
- SUPPORTS - com.googlecode.objectify.TxnType
-
Inherits previous transaction state.
- SUPPORTS_XG - Static variable in class com.googlecode.objectify.util.DatastoreIntrospector
-
true if XG transactions are supported
- Synthetic - Interface in com.googlecode.objectify.impl.translate
-
Marker interface for a translator that indicates that on load, the property value in the entity should be ignored and instead the loader should just be run with a null value.
T
- TextTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Knows how to convert Texts.
- TextTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.TextTranslatorFactory
- throwIllegalState(String) - Method in class com.googlecode.objectify.impl.Path
-
Convenient way to include path location in the exception message.
- throwIllegalState(String, Throwable) - Method in class com.googlecode.objectify.impl.Path
-
Convenient way to include path location in the exception message.
- TimeZoneTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Converts java.util.TimeZone
- TimeZoneTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.TimeZoneTranslatorFactory
- toEntity(Object) - Method in interface com.googlecode.objectify.cmd.Saver
-
Convert a POJO object to a native datastore Entity.
- toEntity(Object) - Method in class com.googlecode.objectify.impl.SaverImpl
- toPathString() - Method in class com.googlecode.objectify.impl.Path
-
Create the full x.y.z string
- toString() - Method in interface com.googlecode.objectify.cmd.QueryExecute
-
Generates a string that consistently and uniquely specifies this query.
- toString() - Method in interface com.googlecode.objectify.cmd.SimpleQuery
-
Generates a string that consistently and uniquely specifies this query.
- toString() - Method in class com.googlecode.objectify.impl.FieldProperty
- toString() - Method in class com.googlecode.objectify.impl.ForwardPath
- toString() - Method in class com.googlecode.objectify.impl.MethodProperty
- toString() - Method in class com.googlecode.objectify.impl.Path
- toString() - Method in class com.googlecode.objectify.impl.PropertyPopulator
-
This is easier to debug if we have a string value
- toString() - Method in class com.googlecode.objectify.impl.QueryImpl
- toString() - Method in class com.googlecode.objectify.impl.Session
-
Convenient for debugging
- toString() - Method in class com.googlecode.objectify.Key
-
Creates a human-readable version of this key
- toString() - Method in class com.googlecode.objectify.Ref
-
Renders some info about the key
- toString() - Method in class com.googlecode.objectify.util.ResultCache
-
We can get away with this because the subclass almost always provides concrete types
- toString() - Method in class com.googlecode.objectify.util.ResultNow
- toString() - Method in class com.googlecode.objectify.util.ResultTranslator
-
We can get away with this because the subclass almost always provides concrete types
- toString(Key<?>) - Method in class com.googlecode.objectify.stringifier.KeyStringifier
- toString(E) - Method in class com.googlecode.objectify.stringifier.EnumStringifier
- toString(String) - Method in class com.googlecode.objectify.stringifier.NullStringifier
- toString(T) - Method in interface com.googlecode.objectify.stringifier.Stringifier
-
Convert the thing to a string
- toWebSafeString() - Method in class com.googlecode.objectify.Key
-
Call KeyFactory.keyToString() on the underlying Key.
- transact(ObjectifyImpl<O>, Work<R>) - Method in class com.googlecode.objectify.impl.Transactor
- transact(ObjectifyImpl<O>, Work<R>) - Method in class com.googlecode.objectify.impl.TransactorNo
- transact(ObjectifyImpl<O>, Work<R>) - Method in class com.googlecode.objectify.impl.TransactorYes
- transact(Work<R>) - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- transact(Work<R>) - Method in interface com.googlecode.objectify.Objectify
-
Executes work in a transaction.
- transact(Runnable) - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- transact(Runnable) - Method in interface com.googlecode.objectify.Objectify
-
Exactly the same behavior as the Work version, but doesn't return anything.
- transaction - Variable in class com.googlecode.objectify.impl.TransactorYes
-
Our transaction.
- TransactionImpl - Class in com.googlecode.objectify.impl
- TransactionImpl(Transaction, TransactorYes<?>) - Constructor for class com.googlecode.objectify.impl.TransactionImpl
- transactionless() - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- transactionless() - Method in interface com.googlecode.objectify.Objectify
-
If you are in a transaction, this provides you an objectify instance which is outside of the current transaction and works with the session prior to the transaction start.
- transactionless(ObjectifyImpl<O>) - Method in class com.googlecode.objectify.impl.Transactor
- transactionless(ObjectifyImpl<O>) - Method in class com.googlecode.objectify.impl.TransactorNo
- transactionless(ObjectifyImpl<O>) - Method in class com.googlecode.objectify.impl.TransactorYes
-
This version goes back to life without a transaction, but preserves current state regarding deadline, consistency, etc.
- transactionRaw - Variable in class com.googlecode.objectify.impl.QueryEngine
- TransactionWrapper - Class in com.googlecode.objectify.util.cmd
-
Simple pass-through to the base methods.
- TransactionWrapper(Transaction) - Constructor for class com.googlecode.objectify.util.cmd.TransactionWrapper
- transactNew(int, Work<R>) - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- transactNew(int, Work<R>) - Method in interface com.googlecode.objectify.Objectify
-
Executes the work in a new transaction, repeating up to limitTries times when a ConcurrentModificationException is thrown.
- transactNew(ObjectifyImpl<O>, int, Work<R>) - Method in class com.googlecode.objectify.impl.Transactor
- transactNew(ObjectifyImpl<O>, int, Work<R>) - Method in class com.googlecode.objectify.impl.TransactorNo
- transactNew(ObjectifyImpl<O>, int, Work<R>) - Method in class com.googlecode.objectify.impl.TransactorYes
-
We need to make sure the parentSession is the transactionless session, not the session for our transaction.
- transactNew(Work<R>) - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- transactNew(Work<R>) - Method in interface com.googlecode.objectify.Objectify
-
Executes work in a new transaction.
- transactor - Variable in class com.googlecode.objectify.impl.ObjectifyImpl
- Transactor<O extends Objectify> - Class in com.googlecode.objectify.impl
-
Determines the transactional behavior of an ObjectifyImpl instance.
- Transactor(Objectify) - Constructor for class com.googlecode.objectify.impl.Transactor
-
Construct a transactor with a fresh session
- Transactor(Objectify, Session) - Constructor for class com.googlecode.objectify.impl.Transactor
-
Construct a transactor with an explicit session
- TransactorNo<O extends Objectify> - Class in com.googlecode.objectify.impl
- TransactorNo(Objectify) - Constructor for class com.googlecode.objectify.impl.TransactorNo
- TransactorNo(Objectify, Session) - Constructor for class com.googlecode.objectify.impl.TransactorNo
- TransactorYes<O extends Objectify> - Class in com.googlecode.objectify.impl
-
Implementation for when we start a transaction.
- TransactorYes(ObjectifyImpl<O>, TransactorNo<O>) - Constructor for class com.googlecode.objectify.impl.TransactorYes
- translate(Entity) - Method in class com.googlecode.objectify.impl.ProjectionIterator
- translate(Result<F>) - Method in class com.googlecode.objectify.util.ResultWrapper
- translate(Result<Map<Key, Entity>>) - Method in class com.googlecode.objectify.impl.LoadEngine
-
Asynchronously translate raw to processed; might produce successive load operations as refs are filled in
- translate(F) - Method in class com.googlecode.objectify.util.ResultTranslator
- translate(F) - Method in class com.googlecode.objectify.util.TranslatingIterator
-
You implement this - convert from one object to the other
- translate(F) - Method in class com.googlecode.objectify.util.TranslatingQueryResultIterable
-
You implement this - convert from one object to the other
- translate(String) - Method in class com.googlecode.objectify.impl.QueryImpl
-
Converts the textual operator (">", "<=", etc) into a FilterOperator.
- translate(Iterator<T>) - Method in class com.googlecode.objectify.util.MakeListResult
- Translate - Annotation Type in com.googlecode.objectify.annotation
-
Lets you define a particular translator for a specific property (field or @AlsoLoad method).
- TranslateException - Exception in com.googlecode.objectify
-
Thrown when something went wrong during the entity translation process; for example, the data in the datastore might be in a format incompatible with the intended pojo field.
- TranslateException(String, Throwable) - Constructor for exception com.googlecode.objectify.TranslateException
- TranslateTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Translator factory which lets users define a custom translator for a field.
- TranslateTranslatorFactory(boolean) - Constructor for class com.googlecode.objectify.impl.translate.TranslateTranslatorFactory
- TranslatingIterator<F,T> - Class in com.googlecode.objectify.util
-
Iterator wrapper that translates from one type to another
- TranslatingIterator(Iterator<F>) - Constructor for class com.googlecode.objectify.util.TranslatingIterator
- TranslatingQueryResultIterable<F,T> - Class in com.googlecode.objectify.util
-
QueryResultIterable wrapper that creates iterators that translate from one type to another
- TranslatingQueryResultIterable(QueryResultIterable<F>) - Constructor for class com.googlecode.objectify.util.TranslatingQueryResultIterable
- TranslatingQueryResultIterator<F,T> - Class in com.googlecode.objectify.util
-
QueryResultIterator wrapper that translates from one type to another
- TranslatingQueryResultIterator(QueryResultIterator<F>) - Constructor for class com.googlecode.objectify.util.TranslatingQueryResultIterator
- translator - Variable in class com.googlecode.objectify.impl.PropertyPopulator
- Translator<P,D> - Interface in com.googlecode.objectify.impl.translate
-
A translator knows how convert between POJO objects and the native datastore representation.
- TranslatorFactory<P,D> - Interface in com.googlecode.objectify.impl.translate
-
A translator knows how to convert between a POJO and a native datastore representation.
- TranslatorRecycles<P,D> - Class in com.googlecode.objectify.impl.translate
-
Combines Translator with Recycles, useful so that we can create anonymous classes.
- TranslatorRecycles() - Constructor for class com.googlecode.objectify.impl.translate.TranslatorRecycles
- translators - Variable in class com.googlecode.objectify.ObjectifyFactory
-
All the various loaders
- Translators - Class in com.googlecode.objectify.impl.translate
-
Manages all the translators used to map between POJO fields and the types that the Datastore can actually persist.
- Translators(ObjectifyFactory) - Constructor for class com.googlecode.objectify.impl.translate.Translators
-
Initialize the default set of converters in the proper order.
- trigger() - Method in class com.googlecode.objectify.cache.TriggerFuture
-
This method will be called ONCE upon completion of the future, successful or not.
- trigger() - Method in class com.googlecode.objectify.cache.TriggerSuccessFuture
- TriggerFuture<T> - Class in com.googlecode.objectify.cache
-
A Future> wrapper that executes an abstract method with the result at some point after the data becomes available.
- TriggerFuture(Future<T>) - Constructor for class com.googlecode.objectify.cache.TriggerFuture
-
Wrap a normal Future>
- TriggerSuccessFuture<T> - Class in com.googlecode.objectify.cache
-
Extends TriggerFuture so that it only gets triggered on successful (no exception) completion of the Future.
- TriggerSuccessFuture(Future<T>) - Constructor for class com.googlecode.objectify.cache.TriggerSuccessFuture
-
Wrap a normal Future>
- TxnType - Enum in com.googlecode.objectify
-
Just like the EJB options.
- type(Class<?>) - Method in interface com.googlecode.objectify.cmd.DeferredDeleter
-
Begin construction of a key or keys to delete by specifying a kind.
- type(Class<?>) - Method in interface com.googlecode.objectify.cmd.Deleter
-
Begin construction of a key or keys to delete by specifying a kind.
- type(Class<?>) - Method in class com.googlecode.objectify.impl.DeleterImpl
- type(Class<E>) - Method in interface com.googlecode.objectify.cmd.Loader
-
Restricts the find operation to entities of a particular type.
- type(Class<E>) - Method in class com.googlecode.objectify.impl.LoaderImpl
- TypeArgumentNotInBoundException - Exception in com.googlecode.objectify.repackaged.gentyref
-
Thrown to indicate that a type argument for a parameterized type is not within the bound declared on the type parameter.
- TypeArgumentNotInBoundException(Type, TypeVariable<?>, Type) - Constructor for exception com.googlecode.objectify.repackaged.gentyref.TypeArgumentNotInBoundException
- TypeFactory - Class in com.googlecode.objectify.repackaged.gentyref
-
Utility class for creating instances of
Type
. - TypeKey<T> - Class in com.googlecode.objectify.impl.translate
-
Unique identifier for a translator instance.
- TypeKey(Property) - Constructor for class com.googlecode.objectify.impl.translate.TypeKey
-
Create a typekey from a property
- TypeKey(Type) - Constructor for class com.googlecode.objectify.impl.translate.TypeKey
- TypeKey(Type, TypeKey) - Constructor for class com.googlecode.objectify.impl.translate.TypeKey
-
Create a new typekey for a new type but which preserves characteristics of the old typekey (ie annotations).
- TypeToken<T> - Class in com.googlecode.objectify.repackaged.gentyref
-
Wrapper around
Type
. - TypeToken() - Constructor for class com.googlecode.objectify.repackaged.gentyref.TypeToken
-
Constructs a type token.
- TypeUtils - Class in com.googlecode.objectify.impl
U
- unboundWildcard() - Static method in class com.googlecode.objectify.repackaged.gentyref.TypeFactory
-
Returns the wildcard type without bounds.
- undefer(Object) - Method in class com.googlecode.objectify.impl.Deferrer
-
Eliminate any deferred operations against the entity.
- Unindex - Annotation Type in com.googlecode.objectify.annotation
-
This annotation controls whether or not fields are indexed in the datastore.
- unless() - Method in annotation type com.googlecode.objectify.annotation.Load
-
Groups which negate loading.
- unwrapAndThrow(Throwable) - Static method in class com.googlecode.objectify.util.FutureHelper
-
Properly unwraps ExecutionException, throwing the relevant original cause.
- URLTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
The datastore can't store URL, so translate it to a String and back.
- URLTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.URLTranslatorFactory
- useRecycled() - Method in class com.googlecode.objectify.impl.translate.LoadContext
-
The most recently recycled value.
V
- value() - Method in annotation type com.googlecode.objectify.annotation.AlsoLoad
- value() - Method in annotation type com.googlecode.objectify.annotation.IgnoreSave
- value() - Method in annotation type com.googlecode.objectify.annotation.Index
- value() - Method in annotation type com.googlecode.objectify.annotation.Load
-
Groups which indicate the value should be loaded.
- value() - Method in annotation type com.googlecode.objectify.annotation.Mapify
-
An instance of this class will be instantiated and used to extract the key from the value.
- value() - Method in annotation type com.googlecode.objectify.annotation.Stringify
-
An instance of this class will be instantiated and used to convert objects to and from String.
- value() - Method in annotation type com.googlecode.objectify.annotation.Translate
-
Factory class which will be applied to this field.
- value() - Method in annotation type com.googlecode.objectify.annotation.Unindex
- value(Object) - Method in interface com.googlecode.objectify.cmd.Loader
-
Load a single entity given any of a variety of acceptable key-like structures.
- value(Object) - Method in class com.googlecode.objectify.impl.LoaderImpl
- ValueIf<V> - Class in com.googlecode.objectify.condition
-
Base class for If classes that test against a simple value.
- ValueIf() - Constructor for class com.googlecode.objectify.condition.ValueIf
- valueOf(String) - Static method in class com.googlecode.objectify.Key
-
This is an alias for Key.create(String) which exists for JAX-RS compliance.
- valueOf(String) - Static method in enum com.googlecode.objectify.TxnType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.googlecode.objectify.TxnType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values(Iterable<?>) - Method in interface com.googlecode.objectify.cmd.Loader
-
Fetch multiple entities from the datastore in a batch.
- values(Iterable<?>) - Method in class com.googlecode.objectify.impl.LoaderImpl
- values(Object...) - Method in interface com.googlecode.objectify.cmd.Loader
-
A convenient substitute for values(Iterable)
- values(Object...) - Method in class com.googlecode.objectify.impl.LoaderImpl
- ValueTranslator<P,D> - Class in com.googlecode.objectify.impl.translate
-
A bit of code that does the required type checking and casting so that we have nice typed methods.
- ValueTranslator(Class<D>) - Constructor for class com.googlecode.objectify.impl.translate.ValueTranslator
- ValueTranslator(Class<D>, Class<? extends D>) - Constructor for class com.googlecode.objectify.impl.translate.ValueTranslator
-
Sometimes the projection class is more specific than the datastore class
- ValueTranslatorFactory<P,D> - Class in com.googlecode.objectify.impl.translate
-
Provides a little boilerplate for translators that work on simple atomic types.
- ValueTranslatorFactory(Class<? extends P>) - Constructor for class com.googlecode.objectify.impl.translate.ValueTranslatorFactory
- VoidWork - Class in com.googlecode.objectify
-
Using Work
is annoying because you must return a value from the run() method. - VoidWork() - Constructor for class com.googlecode.objectify.VoidWork
- vrun() - Method in class com.googlecode.objectify.VoidWork
W
- wildcardExtends(Type) - Static method in class com.googlecode.objectify.repackaged.gentyref.TypeFactory
-
Creates a wildcard type with an upper bound.
- wildcardSuper(Type) - Static method in class com.googlecode.objectify.repackaged.gentyref.TypeFactory
-
Creates a wildcard type with a lower bound.
- Work<R> - Interface in com.googlecode.objectify
-
For executing transactions, this is a unit of work.
- wrap(F) - Method in class com.googlecode.objectify.util.ResultWrapper
- WriteEngine - Class in com.googlecode.objectify.impl
-
This is the master logic for saving and deleting entities from the datastore.
- WriteEngine(ObjectifyImpl<?>, AsyncDatastoreService, Session, Deferrer) - Constructor for class com.googlecode.objectify.impl.WriteEngine
- writeReplace() - Method in class com.googlecode.objectify.impl.ref.LiveRef
-
When this serializes, write out the DeadRef version.
- writeReplace() - Method in class com.googlecode.objectify.util.ResultCache
-
When this serializes, write out a simple version that doesn't hold complicated links to internal structures.
Z
- zip() - Method in annotation type com.googlecode.objectify.annotation.Serialize
-
If true, the data stream will be compressed on write using a DeflatorInputStream.
All Classes All Packages