Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- absorbParentException(Throwable) - Method in class com.googlecode.objectify.util.FutureWrapper
-
Override this method if you want to suppress an exception thrown by the parent and return a value instead.
- AbstractProperty - Class in com.googlecode.objectify.impl
-
Some common behavior of properties
- add(FullEntity<?>) - Method in class com.googlecode.objectify.util.cmd.TransactionWrapper
- add(FullEntity<?>...) - Method in class com.googlecode.objectify.util.cmd.TransactionWrapper
- 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
- addDistinctOn(ProjectionEntityQuery.Builder, List<String>) - Static method in class com.googlecode.objectify.util.Queries
-
The Builder api is programmer-hostile
- 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.
- addOrderBy(StructuredQuery.Builder<?>, List<StructuredQuery.OrderBy>) - Static method in class com.googlecode.objectify.util.Queries
-
The Builder api is programmer-hostile
- addPending(Future<?>) - Static method in class com.googlecode.objectify.cache.PendingFutures
-
Register a pending Future that has a callback.
- addProjection(ProjectionEntityQuery.Builder, List<String>) - Static method in class com.googlecode.objectify.util.Queries
-
The Builder api is programmer-hostile
- 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 ("?").
- addWithDeferredIdAllocation(FullEntity<?>...) - Method in class com.googlecode.objectify.util.cmd.TransactionWrapper
- adjustNamespace(B, String) - Static method in class com.googlecode.objectify.impl.Keys
-
Be sensitive to the thread local namespace, if set
- adjustNamespace(KeyFactory, String) - Static method in class com.googlecode.objectify.impl.Keys
-
Be sensitive to the thread local namespace, if set
- adjustNamespace(StructuredQuery.Builder<?>, String) - Static method in class com.googlecode.objectify.util.Queries
-
Take into account the thread local namespace setting
- aggregate(Aggregation...) - Method in interface com.googlecode.objectify.cmd.SimpleQuery
-
Run the specified aggregations given the query setup as currently defined.
- aggregate(Aggregation...) - Method in class com.googlecode.objectify.impl.QueryImpl
- aggregate(AggregationBuilder<?>...) - Method in interface com.googlecode.objectify.cmd.SimpleQuery
-
Run the specified aggregations given the query setup as currently defined.
- aggregate(AggregationBuilder<?>...) - Method in class com.googlecode.objectify.impl.QueryImpl
- 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.
- allocateIds(Class<T>, int) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Preallocate multiple unique ids within the namespace of the specified entity class.
- allocateIds(Object, Class<T>, int) - 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.
- alsoLoad() - Element 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
- and(Filter...) - Static method in class com.googlecode.objectify.cmd.Filter
-
Combine an arbitrary list of filter conditions.
- andFilter(StructuredQuery.Filter) - Method in class com.googlecode.objectify.impl.QueryDef
-
Convenince method that creates a composite filter with any existing filter (if present)
- anythingToKey(Object, String) - Method in class com.googlecode.objectify.impl.Keys
-
Gets the Key
given an object that might be a Key, Key , or entity. - anythingToRawKey(Object, String) - 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
- ArrayUtils - Class in com.googlecode.objectify.util
- asList(long...) - Static method in class com.googlecode.objectify.util.ArrayUtils
-
Copies an array of primitive longs while boxing them at the same time, and then converting into a list.
- 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
- asyncDatastore() - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- asyncDatastore() - Method in class com.googlecode.objectify.ObjectifyFactory
-
Always the non-caching version
- asyncDatastore(boolean) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Might produce a caching version if caching is enabled.
- asyncDatastore(ObjectifyImpl) - Method in class com.googlecode.objectify.impl.Transactor
- AsyncDatastore - Interface in com.googlecode.objectify.impl
-
The new datastore SDK has a neat structure of interfaces and implementations (transaction, datastorereader, etc) but doesn't currently support async operations.
- AsyncDatastoreImpl - Class in com.googlecode.objectify.impl
- AsyncDatastoreImpl(Datastore) - Constructor for class com.googlecode.objectify.impl.AsyncDatastoreImpl
- AsyncDatastoreReaderWriter - Interface in com.googlecode.objectify.impl
-
The new datastore SDK has a neat structure of interfaces and implementations (transaction, datastorereader, etc) but doesn't currently support async operations.
- AsyncDatastoreReaderWriterImpl - Class in com.googlecode.objectify.impl
-
The new datastore SDK has a neat structure of interfaces and implementations (transaction, datastorereader, etc) but doesn't currently support async operations.
- AsyncDatastoreReaderWriterImpl() - Constructor for class com.googlecode.objectify.impl.AsyncDatastoreReaderWriterImpl
- AsyncTransaction - Interface in com.googlecode.objectify.impl
-
The new datastore SDK has a neat structure of interfaces and implementations (transaction, datastorereader, etc) but doesn't currently support async operations.
- AsyncTransactionImpl - Class in com.googlecode.objectify.impl
- AsyncTransactionImpl(Transaction, Runnable) - Constructor for class com.googlecode.objectify.impl.AsyncTransactionImpl
- avg(String) - Method in interface com.googlecode.objectify.cmd.SimpleQuery
-
Average the values of the specified property over the specified query.
B
- base - Variable in class com.googlecode.objectify.util.TranslatingIterator
- begin() - Method in class com.googlecode.objectify.ObjectifyFactory
-
An alternative to run() which is somewhat easier to use with testing (ie, @Before and @After) frameworks.
- 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.
- 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
- BlobTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Handle the native datastore Blob
- BlobTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.BlobTranslatorFactory
- BooleanTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Handle Boolean and boolean types
- BooleanTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.BooleanTranslatorFactory
- Bucket(Key) - Constructor for class com.googlecode.objectify.cache.EntityMemcache.Bucket
-
Crate a bucket with an uncacheable key.
- Bucket(Key, 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(boolean) - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- cache(boolean) - Method in class com.googlecode.objectify.impl.ObjectifyOptions
- 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
- CachingAsyncDatastore - Class in com.googlecode.objectify.cache
-
A write-through memcache for Entity objects that works for both transactional and nontransactional sessions.
- CachingAsyncDatastore(AsyncDatastore, EntityMemcache) - Constructor for class com.googlecode.objectify.cache.CachingAsyncDatastore
- CachingAsyncDatastoreReaderWriter - Class in com.googlecode.objectify.cache
-
A write-through memcache for Entity objects that works for both transactional and nontransactional sessions.
- CachingAsyncDatastoreReaderWriter() - Constructor for class com.googlecode.objectify.cache.CachingAsyncDatastoreReaderWriter
- CachingAsyncTransaction - Class in com.googlecode.objectify.cache
-
A write-through memcache for Entity objects that works for both transactional and nontransactional sessions.
- CachingAsyncTransaction(AsyncTransaction, EntityMemcache) - Constructor for class com.googlecode.objectify.cache.CachingAsyncTransaction
- 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
- cancel(boolean) - Method in class com.googlecode.objectify.util.FutureWrapper
- 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.
- CasPut() - Constructor for class com.googlecode.objectify.cache.MemcacheService.CasPut
- 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
- 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
- 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>, CreateContext, Path) - 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 Refinvalid input: '<'?>.get() calls) will go to the datastore/memcache to repopulate the session.
- clone() - Method in class com.googlecode.objectify.impl.QueryImpl
- clone(StructuredQuery<?>, Supplier<B>) - Static method in class com.googlecode.objectify.util.Queries
-
Copy all the behavior characteristics of the orignial query into the builder.
- close() - Method in class com.googlecode.objectify.impl.ObjectifyImpl
-
Ends this transactional scope.
- close() - Method in interface com.googlecode.objectify.util.Closeable
- close(Objectify) - Method in class com.googlecode.objectify.ObjectifyFactory
-
This is for internal housekeeping and is not part of the public API
- 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.cache.spymemcached - package com.googlecode.objectify.cache.spymemcached
- 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.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.cache.CachingAsyncTransaction
- commit() - Method in interface com.googlecode.objectify.impl.AsyncTransaction
- commit() - Method in class com.googlecode.objectify.impl.AsyncTransactionImpl
- commit() - Method in class com.googlecode.objectify.util.cmd.TransactionWrapper
- compareTo(Key<?>) - Method in class com.googlecode.objectify.Key
-
The new cloud sdk Key doesn't have compareTo(), so we reimplement the logic from the old GAE SDK.
- 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() - Element in annotation type com.googlecode.objectify.annotation.Serialize
-
If zip is true, sets the compression level of the Deflater.
- 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
- convert(ObjectifyImpl) - Method in class com.googlecode.objectify.cmd.Filter
-
Convert to a low level API filter.
- convertException(Throwable) - Method in class com.googlecode.objectify.util.FutureWrapper
- 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.
- create(Key) - Static method in class com.googlecode.objectify.Key
-
Create an Objectify key from the native datastore key.
- create(TypeKey<Value<Object>>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.RawValueTranslatorFactory
- create(TypeKey<Number>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.FloatTranslatorFactory
- create(TypeKey<Number>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.IntegerTranslatorFactory
- 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.ContainerTranslatorFactory
- create(TypeKey<Object>, CreateContext, Path) - Method in class com.googlecode.objectify.impl.translate.ObjectTranslatorFactory
- 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
-
Deprecated.use the ObjectifyService method, or the relevant method on the appropriate ObjectifyFactory. This method will be removed in a future version of Objectify.
- create(Key<?>, Class<? extends T>, String) - Static method in class com.googlecode.objectify.Key
-
Deprecated.use the ObjectifyService method, or the relevant method on the appropriate ObjectifyFactory. This method will be removed in a future version of Objectify.
- create(Key<T>) - Static method in class com.googlecode.objectify.Ref
-
Deprecated.use the ObjectifyService method, or the relevant method on the appropriate ObjectifyFactory. This method will be removed in a future version of Objectify.
- create(Class<? extends T>, long) - Static method in class com.googlecode.objectify.Key
-
Deprecated.use the ObjectifyService method, or the relevant method on the appropriate ObjectifyFactory. This method will be removed in a future version of Objectify.
- create(Class<? extends T>, String) - Static method in class com.googlecode.objectify.Key
-
Deprecated.use the ObjectifyService method, or the relevant method on the appropriate ObjectifyFactory. This method will be removed in a future version of Objectify.
- 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
-
Create an Objectify key from a web safe string.
- create(String, Class<? extends T>, long) - Static method in class com.googlecode.objectify.Key
-
Deprecated.use the ObjectifyService method, or the relevant method on the appropriate ObjectifyFactory. This method will be removed in a future version of Objectify.
- create(String, Class<? extends T>, String) - Static method in class com.googlecode.objectify.Key
-
Deprecated.use the ObjectifyService method, or the relevant method on the appropriate ObjectifyFactory. This method will be removed in a future version of Objectify.
- 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
-
Deprecated.use the ObjectifyService method, or the relevant method on the appropriate ObjectifyFactory. This method will be removed in a future version of Objectify.
- create(T) - Static method in class com.googlecode.objectify.Ref
-
Deprecated.use the ObjectifyService method, or the relevant method on the appropriate ObjectifyFactory. This method will be removed in a future version of Objectify.
- CreateContext - Class in com.googlecode.objectify.impl.translate
-
The context while creating translator factories.
- CreateContext() - Constructor for class com.googlecode.objectify.impl.translate.CreateContext
- createIf(Class<? extends If<?, ?>>, Field) - Method in class com.googlecode.objectify.impl.IfConditionGenerator
- createKey(String, Key<?>, Class<T>, long) - Method in class com.googlecode.objectify.impl.Keys
-
namespace and parent are mutually exclusive
- createKey(String, Key<?>, Class<T>, String) - Method in class com.googlecode.objectify.impl.Keys
-
namespace and parent are mutually exclusive
- createKeyAny(String, Key<?>, Class<T>, Object) - Method in class com.googlecode.objectify.impl.Keys
-
Construct a Keyinvalid input: '<'?> from a Long or String id namespace and parent are mutually exclusive
- createKeys(String, Key<?>, Class<T>, Iterable<?>) - Method in class com.googlecode.objectify.impl.Keys
-
Make a list of Keyinvalid input: '<'?>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.
- createRaw(String, Key, String, long) - Method in class com.googlecode.objectify.impl.Keys
-
namespace and parent are mutually exclusive
- createRaw(String, Key, String, String) - Method in class com.googlecode.objectify.impl.Keys
-
namespace and parent are mutually exclusive
- createRawAny(String, Key, String, Object) - Method in class com.googlecode.objectify.impl.Keys
-
Construct a Key from a Long or String id
- createRawIncomplete(String, Key, String) - Method in class com.googlecode.objectify.impl.Keys
-
namespace and parent are mutually exclusive
- 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<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.SimpleTranslatorFactory
- 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
D
- datastore - Variable in class com.googlecode.objectify.impl.WriteEngine
- datastore - Variable in class com.googlecode.objectify.ObjectifyFactory
-
The raw interface to the datastore from the Cloud SDK
- datastore() - Method in class com.googlecode.objectify.ObjectifyFactory
- 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
- DateTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
The datastore can't store java.util.Date natively
- DateTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.DateTranslatorFactory
- deadline(Double) - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- deadline(Double) - Method in interface com.googlecode.objectify.Objectify
-
Deprecated.This no longer does anything. Transport-level behavior is set via DatastoreOptions when you create the ObjectifyFactory. Altering this would require tearing down and re-establishing connections, which will have a negative performance impact. For better or worse, deadline is now a global setting.
- 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
- DEFAULT_TRY_LIMIT - Static variable in class com.googlecode.objectify.impl.Transactor
- 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(ObjectifyOptions, 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.WriteEngine
- Deferrer - Class in com.googlecode.objectify.impl
-
Manages all the logic of deferring operations
- Deferrer() - Constructor for class com.googlecode.objectify.impl.Deferrer
- deferSave(ObjectifyOptions, 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.util.cmd.TransactionWrapper
- delete(Iterable<Key>) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreReaderWriter
- delete(Iterable<Key>) - Method in class com.googlecode.objectify.cache.CachingAsyncTransaction
- delete(Iterable<Key>) - Method in interface com.googlecode.objectify.impl.AsyncDatastoreReaderWriter
- delete(Iterable<Key>) - Method in class com.googlecode.objectify.impl.AsyncDatastoreReaderWriterImpl
- 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
- deleteAll(Collection<String>) - Method in interface com.googlecode.objectify.cache.MemcacheService
- deleteAll(Collection<String>) - Method in class com.googlecode.objectify.cache.spymemcached.SpyMemcacheService
- 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.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.cache.AsyncCacheFilter
- destroy() - Method in class com.googlecode.objectify.ObjectifyFilter
-
Deprecated.
- destroy() - Method in class com.googlecode.objectify.ObjectifyService.Filter
- destroy() - Method in class com.googlecode.objectify.ObjectifyService.FilterJavax
- 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
- distinctOn(String) - Method in class com.googlecode.objectify.impl.QueryDef
- distinctOnAll(boolean) - Method in class com.googlecode.objectify.impl.QueryDef
-
At the last minute add distinct on all projected fields.
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.googlecode.objectify.ObjectifyService.Filter
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.googlecode.objectify.cache.AsyncCacheFilter
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.googlecode.objectify.ObjectifyFilter
-
Deprecated.
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.googlecode.objectify.ObjectifyService.FilterJavax
- 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() - Element in annotation type com.googlecode.objectify.annotation.Translate
-
If true, the factory will be placed early in the chain, before collection translators.
- 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.CachingAsyncDatastore
- empty(Iterable<Key>) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreReaderWriter
- empty(Iterable<Key>) - Method in class com.googlecode.objectify.cache.CachingAsyncTransaction
- 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
- endCursor(Cursor) - Method in class com.googlecode.objectify.impl.QueryDef
- enlist(Result<?>) - Method in class com.googlecode.objectify.cache.CachingAsyncTransaction
- enlist(Result<?>) - Method in class com.googlecode.objectify.impl.AsyncTransactionImpl
-
Enlist any operations that modify the session.
- enlist(Result<?>) - Method in interface com.googlecode.objectify.impl.PrivateAsyncTransaction
- 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.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.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.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.
- entityMemcache - Variable in class com.googlecode.objectify.ObjectifyFactory
-
Manages caching of entities; might be null to indicate "no cache"
- EntityMemcache - Class in com.googlecode.objectify.cache
-
This is the facade used by Objectify to cache entities in the MemcacheService.
- EntityMemcache(MemcacheService, String) - Constructor for class com.googlecode.objectify.cache.EntityMemcache
-
Creates a memcache which caches everything without expiry and doesn't record statistics.
- EntityMemcache(MemcacheService, String, CacheControl) - Constructor for class com.googlecode.objectify.cache.EntityMemcache
-
Creates a memcache which doesn't record stats
- EntityMemcache(MemcacheService, String, CacheControl, MemcacheStats) - 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() - 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
- EQUAL - Enum constant in enum com.googlecode.objectify.impl.FilterOperator
- equals(Object) - Method in class com.googlecode.objectify.impl.Path
-
Compares on complete path
- 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
- equals(Object) - Method in class com.googlecode.objectify.util.FutureWrapper
- equalTo(String, Object) - Static method in class com.googlecode.objectify.cmd.Filter
-
Create a filter condition that requires the property to equal the scalar value.
- 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, TxnType, Work<R>) - Method in class com.googlecode.objectify.impl.Transactor
- 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(TxnType, Runnable) - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- execute(TxnType, Runnable) - Method in interface com.googlecode.objectify.Objectify
-
Exactly the same behavior as the Work version, but doesn't return anything.
- 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() - Element 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(Key...) - Method in class com.googlecode.objectify.util.cmd.TransactionWrapper
- 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 class com.googlecode.objectify.impl.translate.SkipException
-
No need for a stacktrace
- filter(StructuredQuery.Filter) - Method in interface com.googlecode.objectify.cmd.Query
-
Create a filter based on the raw low-level Filter.
- filter(StructuredQuery.Filter) - Method in class com.googlecode.objectify.impl.QueryDef
- filter(StructuredQuery.Filter) - Method in class com.googlecode.objectify.impl.QueryImpl
- filter(Filter) - Method in interface com.googlecode.objectify.cmd.Query
-
Create an arbitrarily complex filter.
- filter(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
- Filter - Class in com.googlecode.objectify.cmd
-
Gives us the ability to compose arbitrarily complex filters with OR and AND sections.
- Filter() - Constructor for class com.googlecode.objectify.cmd.Filter
- Filter() - Constructor for class com.googlecode.objectify.ObjectifyService.Filter
- FilterJavax() - Constructor for class com.googlecode.objectify.ObjectifyService.FilterJavax
- 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
- FilterOperator - Enum in com.googlecode.objectify.impl
-
The cloud sdk filtering API is somewhat hostile to programmatic query generation, so we need this adaptor
- 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
- FloatTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Floats are funky in the datastore.
- FloatTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.FloatTranslatorFactory
- 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.
- flush(ObjectifyImpl) - Method in class com.googlecode.objectify.impl.Deferrer
- Forge - Interface in com.googlecode.objectify.impl
-
Interface for something that constructs objects.
- formatOldStyleAppEngineKey(Key) - Method in enum com.googlecode.objectify.util.KeyFormat
- 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.
- 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
- fromUrlSafe(String) - Static method in class com.googlecode.objectify.impl.Keys
-
Understands both the legacy format "ag1zfnZvb2Rvb2R5bmUwcgcLEgFCGAEM" and new format, providing the key either way.
- 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
- FutureWrapper<K,
V> - Class in com.googlecode.objectify.util -
JMS: Copied verbatum from the original GAE SDK.
- FutureWrapper(Future<K>) - Constructor for class com.googlecode.objectify.util.FutureWrapper
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() - Static method in class com.googlecode.objectify.NamespaceManager
- 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() - Method in class com.googlecode.objectify.util.FutureWrapper
- 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(long, TimeUnit) - Method in class com.googlecode.objectify.util.FutureWrapper
- get(Key) - Method in class com.googlecode.objectify.util.cmd.TransactionWrapper
- get(Key...) - Method in interface com.googlecode.objectify.impl.AsyncDatastoreReaderWriter
- get(Key...) - Method in class com.googlecode.objectify.util.cmd.TransactionWrapper
- 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(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. - get(String) - Method in interface com.googlecode.objectify.cache.MemcacheService
- get(String) - Method in class com.googlecode.objectify.cache.spymemcached.SpyMemcacheService
- get(Collection<Key>, ReadOption...) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastore
- get(Collection<Key>, ReadOption...) - Method in class com.googlecode.objectify.cache.CachingAsyncTransaction
- get(Collection<Key>, ReadOption...) - Method in interface com.googlecode.objectify.impl.AsyncDatastoreReaderWriter
- get(Collection<Key>, ReadOption...) - Method in class com.googlecode.objectify.impl.AsyncDatastoreReaderWriterImpl
- 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
- getAll(Collection<String>) - Method in interface com.googlecode.objectify.cache.MemcacheService
- getAll(Collection<String>) - Method in class com.googlecode.objectify.cache.spymemcached.SpyMemcacheService
- 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
- getArgument() - Method in exception class 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.
- getBound() - Method in exception class com.googlecode.objectify.repackaged.gentyref.TypeArgumentNotInBoundException
-
Returns the bound that was not satisfied.
- 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.
- getCompleteKey(P, String) - Method in class com.googlecode.objectify.impl.KeyMetadata
-
Gets a key composed of the relevant id and parent fields in the object.
- 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.
- getCursorAfter() - Method in class com.googlecode.objectify.util.TranslatingQueryResults
- getDatastore() - Method in class com.googlecode.objectify.util.cmd.TransactionWrapper
- getDeclaredAnnotation(Class<?>, Class<A>) - Static method in class com.googlecode.objectify.impl.TypeUtils
-
Get the declared annotation, ignoring any inherited annotations
- 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 class com.googlecode.objectify.LoadException
-
The complete version of what we couldn't translate
- 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
- 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
- getIdentifiables(Collection<Key>) - Method in class com.googlecode.objectify.cache.KeyMemcacheService
- getIdentifiables(Collection<String>) - Method in interface com.googlecode.objectify.cache.MemcacheService
-
For cache implementations that don't handle a cold cache for a key (eg memcached), the implementation of this method needs to hide that behavior (ie, bootstrap an initial value so we can get a CAS value).
- getIdentifiables(Collection<String>) - Method in class com.googlecode.objectify.cache.spymemcached.SpyMemcacheService
- getIdFieldName() - Method in class com.googlecode.objectify.impl.KeyMetadata
- getIdFieldType() - Method in class com.googlecode.objectify.impl.KeyMetadata
- getIdValue(IncompleteKey) - Static method in class com.googlecode.objectify.impl.Keys
-
Gets the String or Long id from the key as a Value, or null if incomplete
- getIncompleteKey(P, String) - Method in class com.googlecode.objectify.impl.KeyMetadata
-
Gets a key composed of the relevant id and parent fields in the object.
- 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.
- getKey() - Method in class com.googlecode.objectify.cache.EntityMemcache.Bucket
- getKey() - Method in exception class 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(FullEntity<?>) - Static method in class com.googlecode.objectify.impl.Keys
- 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.translate.ClassPopulator
-
Gets the key metadata but only if this was an @Entity annotated class.
- getKeyMetadata() - Method in class com.googlecode.objectify.impl.translate.ClassTranslator
-
Only works on @Entity classes
- 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.
- getLoadConditions() - Method in class com.googlecode.objectify.impl.PropertyPopulator
- getLoadGroups() - Method in interface com.googlecode.objectify.cmd.Loader
- 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
-
You can extend the servlet and override this method if you are doing something unusual with the factory.
- 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
- getMoreResults() - Method in class com.googlecode.objectify.impl.HybridQueryResults
- getMoreResults() - Method in class com.googlecode.objectify.util.TranslatingQueryResults
- 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
- getNamespace() - 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
- getParameter() - Method in exception class 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 class com.googlecode.objectify.SaveException
-
The complete version of what we couldn't translate
- 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
- getRaw() - Method in class com.googlecode.objectify.Key
- getResult() - Method in class com.googlecode.objectify.impl.SessionValue
- getResultClass() - Method in class com.googlecode.objectify.impl.HybridQueryResults
- getResultClass() - Method in class com.googlecode.objectify.util.TranslatingQueryResults
- 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.ObjectifyImpl
- getSkippedResults() - Method in class com.googlecode.objectify.impl.HybridQueryResults
- getSkippedResults() - Method in class com.googlecode.objectify.util.TranslatingQueryResults
- getStats() - Method in class com.googlecode.objectify.impl.EntityMemcacheStats
-
Get the live statistics.
- getTransaction() - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- getTransaction() - Method in class com.googlecode.objectify.impl.Transactor
- getTransaction() - Method in interface com.googlecode.objectify.Objectify
-
This used to have meaning in the old GAE SDK but no longer does.
- getTransactionHandle() - Method in class com.googlecode.objectify.cache.CachingAsyncTransaction
- getTransactionHandle() - Method in interface com.googlecode.objectify.impl.AsyncTransaction
- getTransactionHandle() - Method in class com.googlecode.objectify.impl.AsyncTransactionImpl
- getTransactionId() - Method in class com.googlecode.objectify.util.cmd.TransactionWrapper
- 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 interface com.googlecode.objectify.cache.IdentifiableValue
- getValue() - Method in class com.googlecode.objectify.cache.spymemcached.SpyIdentifiableValue
- 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.
- GREATER_THAN - Enum constant in enum com.googlecode.objectify.impl.FilterOperator
- GREATER_THAN_OR_EQUAL - Enum constant in enum com.googlecode.objectify.impl.FilterOperator
- greaterThan(String, Object) - Static method in class com.googlecode.objectify.cmd.Filter
-
Create a filter condition that requires the property to be greater than the scalar value
- greaterThanOrEqualTo(String, Object) - Static method in class com.googlecode.objectify.cmd.Filter
-
Create a filter condition that requires the property to be greater than or equal to scalar value
- group(Class<?>...) - Method in interface com.googlecode.objectify.cmd.Loader
-
Enables one or more fetch groups.
H
- hashCode() - Method in class com.googlecode.objectify.impl.Path
-
Generates hash code for complete path
- 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
- hashCode() - Method in class com.googlecode.objectify.util.FutureWrapper
- hasNext() - Method in class com.googlecode.objectify.impl.HybridQueryResults
- hasNext() - Method in class com.googlecode.objectify.impl.ResultWithCursor.Iterator
- 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
- homogenizeIndexes(List<Value<?>>) - Static method in class com.googlecode.objectify.util.Values
-
The datastore has a weird behavior of reordering values in a list so that indexed ones come before nonindexed ones.
- 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
- HybridQueryResults<T> - Class in com.googlecode.objectify.impl
-
Converts keys-only query results into hybrid query results.
- HybridQueryResults(LoadEngine, QueryResults<Key<T>>, int) - Constructor for class com.googlecode.objectify.impl.HybridQueryResults
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.
- IdentifiableValue - Interface in com.googlecode.objectify.cache
- 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.
- in(String, Object) - Static method in class com.googlecode.objectify.cmd.Filter
-
Create a filter condition that requires the property to be equal to at least one of a list of scalar values.
- IN - Enum constant in enum com.googlecode.objectify.impl.FilterOperator
- index() - Element 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(Value<D>, boolean) - Static method in class com.googlecode.objectify.util.Values
- Index - Annotation Type in com.googlecode.objectify.annotation
-
This annotation controls whether or not fields are indexed in the datastore.
- init() - Static method in class com.googlecode.objectify.ObjectifyService
-
This is a shortcut for
ObjectifyService.init(new ObjectifyFactory())
- init(ObjectifyFactory) - Static method in class com.googlecode.objectify.ObjectifyService
-
Initialize the singleton factory.
- 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.ObjectifyService.Filter
- init(FilterConfig) - Method in class com.googlecode.objectify.cache.AsyncCacheFilter
- init(FilterConfig) - Method in class com.googlecode.objectify.ObjectifyFilter
-
Deprecated.
- init(FilterConfig) - Method in class com.googlecode.objectify.ObjectifyService.FilterJavax
- InitializeIf - Interface in com.googlecode.objectify.condition
-
If an Ifinvalid input: '<'?, ?> condition class implements this interface, it will be called once just after construction.
- InitializeStringifier - Interface in com.googlecode.objectify.stringifier
-
If a Stringifierinvalid input: '<'?> 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 - Enum constant in enum com.googlecode.objectify.util.KeyFormat
- INSTANCE - Static variable in class com.googlecode.objectify.impl.translate.NullPopulator
- InstantTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Handle java.time.Instant
- InstantTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.InstantTranslatorFactory
- IntegerTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Integers are funky in the datastore.
- IntegerTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.IntegerTranslatorFactory
- 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.cache.CachingAsyncTransaction
- isActive() - Method in interface com.googlecode.objectify.impl.AsyncTransaction
- isActive() - Method in class com.googlecode.objectify.impl.AsyncTransactionImpl
- 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? This is the inverse of isAssignableFrom().
- isCacheable() - Method in class com.googlecode.objectify.cache.EntityMemcache.Bucket
- isCacheable(Key) - Method in interface com.googlecode.objectify.cache.CacheControl
-
Convenience method
- 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
- isCancelled() - Method in class com.googlecode.objectify.util.FutureWrapper
- 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
- isDone() - Method in class com.googlecode.objectify.util.FutureWrapper
- 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
- 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 interface com.googlecode.objectify.cmd.QueryResultIterable
- iterator() - Method in class com.googlecode.objectify.impl.QueryImpl
- Iterator() - Constructor for class com.googlecode.objectify.impl.ResultWithCursor.Iterator
- 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() - 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 class com.googlecode.objectify.ObjectifyFactory
-
Create an Objectify key from the native datastore 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<?>, Class<? extends T>, long) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Create an Objectify key from a parent, type, and numeric id
- key(Key<?>, Class<? extends T>, long) - Static method in class com.googlecode.objectify.ObjectifyService
-
Shortcut for the equivalent
factory().key()
method, convenient as a static import. - key(Key<?>, Class<? extends T>, String) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Create an Objectify key from a parent, type, and string id
- key(Key<?>, Class<? extends T>, String) - Static method in class com.googlecode.objectify.ObjectifyService
-
Shortcut for the equivalent
factory().key()
method, convenient as a static import. - key(Key<E>) - Method in interface com.googlecode.objectify.cmd.Loader
-
Load a single entity by key.
- key(Class<? extends T>, long) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Create an Objectify key from a type and numeric id
- key(Class<? extends T>, long) - Static method in class com.googlecode.objectify.ObjectifyService
-
Shortcut for the equivalent
factory().key()
method, convenient as a static import. - key(Class<? extends T>, String) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Create an Objectify key from a type and string id
- key(Class<? extends T>, String) - Static method in class com.googlecode.objectify.ObjectifyService
-
Shortcut for the equivalent
factory().key()
method, convenient as a static import. - key(String, Class<? extends T>, long) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Create an Objectify key from a namespace, type, and numeric id
- key(String, Class<? extends T>, long) - Static method in class com.googlecode.objectify.ObjectifyService
-
Shortcut for the equivalent
factory().key()
method, convenient as a static import. - key(String, Class<? extends T>, String) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Create an Objectify key from a namespace, type, and string id
- key(String, Class<? extends T>, String) - Static method in class com.googlecode.objectify.ObjectifyService
-
Shortcut for the equivalent
factory().key()
method, convenient as a static import. - key(T) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Create a key from a registered POJO entity.
- key(T) - Static method in class com.googlecode.objectify.ObjectifyService
-
Shortcut for the equivalent
factory().key()
method, convenient as a static import. - 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 Keyinvalid input: '<'?> that was serialized with the KeySerializer
- KeyDeserializer() - Constructor for class com.googlecode.objectify.util.jackson.KeyDeserializer
- KeyFormat - Enum in com.googlecode.objectify.util
-
The new Cloud SDK has a new format for "url safe strings".
- KeyKeySerializer - Class in com.googlecode.objectify.util.jackson
-
Configuring this serializer will make Keyinvalid input: '<'?> 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
-
Like MemcacheService but translates keys and values into forms more palatable to the low level service.
- KeyMemcacheService() - 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, String) - Method in class com.googlecode.objectify.impl.Keys
- KeyPopulator<P> - Class in com.googlecode.objectify.impl
-
Populates the @Id/@Parent fields from an Entity key
- KeyPopulator(Class<P>, CreateContext, Path) - Constructor for class com.googlecode.objectify.impl.KeyPopulator
- KeyRange<T> - Class in com.googlecode.objectify
-
Deprecated.Use
List<Key<T>>
instead. We will drop this class entirely. - KeyRange() - Constructor for class com.googlecode.objectify.KeyRange
-
Deprecated.
- keys - Variable in class com.googlecode.objectify.ObjectifyFactory
-
Some useful tools 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(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 - Class in com.googlecode.objectify.impl
-
Gives us a slightly more organized interface for manipulating keys.
- Keys() - Constructor for class com.googlecode.objectify.impl.Keys
- KeySerializer - Class in com.googlecode.objectify.util.jackson
-
Configuring this serializer will make Keyinvalid input: '<'?> objects render as their web-safe string.
- KeySerializer() - Constructor for class com.googlecode.objectify.util.jackson.KeySerializer
- keysOf(Collection<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 Keyinvalid input: '<'?>s to String.
- KeyStringifier() - Constructor for class com.googlecode.objectify.stringifier.KeyStringifier
- KeyTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Knows how to convert Keyinvalid input: '<'?> 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.QueryDef
L
- LatLngTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Handle the native datastore LatLng
- LatLngTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.LatLngTranslatorFactory
- LESS_THAN - Enum constant in enum com.googlecode.objectify.impl.FilterOperator
- LESS_THAN_OR_EQUAL - Enum constant in enum com.googlecode.objectify.impl.FilterOperator
- lessThan(String, Object) - Static method in class com.googlecode.objectify.cmd.Filter
-
Create a filter condition that requires the property to be less than the scalar value
- lessThanOrEqualTo(String, Object) - Static method in class com.googlecode.objectify.cmd.Filter
-
Create a filter condition that requires the property to be less than or equal to the scalar value
- 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
- limit(Integer) - Method in class com.googlecode.objectify.impl.QueryDef
- 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.cache.CachingAsyncTransaction
- listenForCommit(Runnable) - Method in interface com.googlecode.objectify.impl.AsyncTransaction
- listenForCommit(Runnable) - Method in class com.googlecode.objectify.impl.AsyncTransactionImpl
-
Add a listener to be called after the transaction commits.
- load() - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- load() - Method in interface com.googlecode.objectify.Objectify
-
Start a load command chain.
- load(BaseEntity<?>, LoadContext) - Method in class com.googlecode.objectify.impl.EntityMetadata
-
Converts an entity to an object of the appropriate type for this metadata structure.
- load(BaseEntity<Key>, LoadContext) - Method in class com.googlecode.objectify.impl.LoadEngine
-
Converts a datastore entity into a typed pojo object
- load(FullEntity<?>, LoadContext, Path, Object) - Method in class com.googlecode.objectify.impl.translate.NullPopulator
- load(FullEntity<?>, LoadContext, Path, P) - Method in class com.googlecode.objectify.impl.KeyPopulator
- load(FullEntity<?>, LoadContext, Path, P) - 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(FullEntity<?>, LoadContext, Path, P) - Method in class com.googlecode.objectify.impl.translate.ClassPopulator
- load(FullEntity<?>, LoadContext, Path, P) - Method in interface com.googlecode.objectify.impl.translate.Populator
-
Loads the content of the specified datastore node into an existing POJO.
- load(Value<FullEntity<?>>, LoadContext, Path) - Method in class com.googlecode.objectify.impl.translate.EntityTranslator
- load(Value<D>, LoadContext, Path) - Method in class com.googlecode.objectify.impl.translate.NullSafeTranslator
- load(Value<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(Value<D>, LoadContext, Path) - Method in class com.googlecode.objectify.impl.translate.TranslatorRecycles
- 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 - Annotation Type in com.googlecode.objectify.annotation
-
Placed on an entity field of type Refinvalid input: '<'?>, this will cause Objectify to fetch that entity when the containing entity is loaded.
- 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, AsyncDatastoreReaderWriter, LoadArrangement, ImmutableSet<ReadOption>) - Constructor for class com.googlecode.objectify.impl.LoadEngine
- 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.
- LoadException - Exception Class 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(BaseEntity<?>, String, Throwable) - Constructor for exception class 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(Value<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 Resultinvalid input: '<'?> with some additional methods useful when loading data.
- LoadResult(Key<T>, Result<T>) - Constructor for class com.googlecode.objectify.LoadResult
- loadSafe(Value<FullEntity<?>>, LoadContext, Path) - Method in class com.googlecode.objectify.impl.translate.ClassTranslator
- loadSafe(Value<D>, LoadContext, Path) - Method in class com.googlecode.objectify.impl.translate.NullSafeTranslator
-
Implement this, returning a proper translated value
- loadSafe(Value<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(Value<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
- makeNew(ObjectifyOptions, Transactor) - Method in class com.googlecode.objectify.impl.ObjectifyImpl
-
Can be overriden if you want to subclass the ObjectifyImpl
- 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 - Enum constant in enum com.googlecode.objectify.TxnType
-
Require that there must already be a transaction running.
- mandatoryTransactions(boolean) - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- mandatoryTransactions(boolean) - Method in class com.googlecode.objectify.impl.ObjectifyOptions
- 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_READ_SIZE - Static variable in class com.googlecode.objectify.impl.AsyncDatastoreReaderWriterImpl
-
This is a hard limit imposed by the datastore (or the client sdk)
- MAX_WRITE_SIZE - Static variable in class com.googlecode.objectify.impl.AsyncDatastoreReaderWriterImpl
-
This is a hard limit imposed by the datastore (or the client sdk)
- memcache - Variable in class com.googlecode.objectify.ObjectifyFactory
-
The low-level interface to memcache
- memcache() - Method in class com.googlecode.objectify.ObjectifyFactory
- MEMCACHE_NAMESPACE - Static variable in class com.googlecode.objectify.ObjectifyFactory
-
Default memcache namespace
- MemcacheService - Interface in com.googlecode.objectify.cache
-
The interface that all memory cache services must implement.
- MemcacheService.CasPut - Class in com.googlecode.objectify.cache
- MemcacheServiceRetryProxy - Class in com.googlecode.objectify.cache
-
Dynamic proxy which wraps a MemcacheService and adds retries when an exception occurs.
- MemcacheServiceRetryProxy() - Constructor for class com.googlecode.objectify.cache.MemcacheServiceRetryProxy
- memcacheStats - Variable in class com.googlecode.objectify.ObjectifyFactory
- MemcacheStats - Interface in com.googlecode.objectify.cache
-
Interface for tracking hit rates of the entity memcache.
- MemcacheStatsServlet - Class in com.googlecode.objectify.util
-
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() - Element in annotation type com.googlecode.objectify.annotation.Entity
-
Controls the actual kind name used in the datastore.
- name() - Element in annotation type com.googlecode.objectify.annotation.Subclass
-
Optionally define the discriminator value for the subclass; default is Class.getSimpleName()
- namespace(String) - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- namespace(String) - Method in class com.googlecode.objectify.impl.ObjectifyOptions
- namespace(String) - Method in class com.googlecode.objectify.impl.QueryDef
- namespace(String) - Method in interface com.googlecode.objectify.Objectify
-
Explicitly sets the namespace for keys generated in load, save, delete operations.
- Namespace - Annotation Type in com.googlecode.objectify.annotation
-
When placed on an entity field of type String, the value will be used as a namespace for saving the entity.
- NamespaceManager - Class in com.googlecode.objectify
-
A simple thread local namespace manager, similar to legacy GAE's
NamespaceManager
. - NamespaceManager() - Constructor for class com.googlecode.objectify.NamespaceManager
- NEGATIVE - Static variable in class com.googlecode.objectify.cache.EntityMemcache
-
The value stored in the memcache for a negative cache result.
- NEVER - Enum constant in enum com.googlecode.objectify.TxnType
-
Require that there must NOT be a transaction running.
- newEntityQuery() - Method in class com.googlecode.objectify.impl.QueryDef
- newInstance(Constructor<T>, Object...) - Static method in class com.googlecode.objectify.impl.TypeUtils
-
Checked exceptions are LAME.
- newKeyQuery() - Method in class com.googlecode.objectify.impl.QueryDef
- newProjectionQuery() - Method in class com.googlecode.objectify.impl.QueryDef
- newTransaction(Runnable) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastore
- newTransaction(Runnable) - Method in interface com.googlecode.objectify.impl.AsyncDatastore
- newTransaction(Runnable) - Method in class com.googlecode.objectify.impl.AsyncDatastoreImpl
- next() - Method in class com.googlecode.objectify.impl.HybridQueryResults
- next() - Method in class com.googlecode.objectify.impl.ResultWithCursor.Iterator
- next() - Method in class com.googlecode.objectify.util.TranslatingIterator
- NOT_EQUAL - Enum constant in enum com.googlecode.objectify.impl.FilterOperator
- NOT_IN - Enum constant in enum com.googlecode.objectify.impl.FilterOperator
- NOT_SUPPORTED - Enum constant in enum com.googlecode.objectify.TxnType
-
Execute the work without a transaction, pausing an existing transaction if there is one.
- notEqualTo(String, Object) - Static method in class com.googlecode.objectify.cmd.Filter
-
Create a filter condition that requires the property to not be equal to the scalar value.
- NotFoundException - Exception Class in com.googlecode.objectify
-
Exception thrown when a fetch for something could not be found.
- NotFoundException() - Constructor for exception class com.googlecode.objectify.NotFoundException
-
Thrown when there is no key context (eg, query.first() on an empty result set)
- NotFoundException(Key<?>) - Constructor for exception class com.googlecode.objectify.NotFoundException
-
Thrown when we at least know what we are looking for!
- notIn(String, Object) - Static method in class com.googlecode.objectify.cmd.Filter
-
Create a filter condition that requires the property to NOT be equal to any of a list of scalar values.
- 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.
- 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
O
- Objectify - Interface in com.googlecode.objectify
-
This is the main "business end" of Objectify.
- ObjectifyFactory - Class in com.googlecode.objectify
-
ObjectifyFactory encapsulates a connection to a single datastore, and allows the datastore to be queries and manipulated.
- ObjectifyFactory() - Constructor for class com.googlecode.objectify.ObjectifyFactory
-
Uses default datastore, no memcache
- ObjectifyFactory(Datastore) - Constructor for class com.googlecode.objectify.ObjectifyFactory
-
No memcache
- ObjectifyFactory(Datastore, MemcacheService) - Constructor for class com.googlecode.objectify.ObjectifyFactory
- ObjectifyFactory(Datastore, MemcachedClient) - Constructor for class com.googlecode.objectify.ObjectifyFactory
-
Deprecated.call
ObjectifyFactory(datastore, new SpyMemcacheService(memcache))
instead - ObjectifyFactory(MemcacheService) - Constructor for class com.googlecode.objectify.ObjectifyFactory
-
Uses default datastore
- ObjectifyFactory(MemcachedClient) - Constructor for class com.googlecode.objectify.ObjectifyFactory
-
Deprecated.call
ObjectifyFactory(new SpyMemcacheService(memcache))
instead - ObjectifyFilter - Class in com.googlecode.objectify
-
Deprecated.use
ObjectifyService.Filter
orObjectifyService.FilterJavax
instead - ObjectifyFilter() - Constructor for class com.googlecode.objectify.ObjectifyFilter
-
Deprecated.
- ObjectifyImpl - Class in com.googlecode.objectify.impl
-
Implementation of the Objectify interface.
- ObjectifyImpl(ObjectifyFactory) - Constructor for class com.googlecode.objectify.impl.ObjectifyImpl
- ObjectifyImpl(ObjectifyFactory, ObjectifyOptions, Transactor) - 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
- ObjectifyOptions - Class in com.googlecode.objectify.impl
-
Encapsulates the various options that can be twiddled in an objectify session.
- ObjectifyService - Class in com.googlecode.objectify
-
Most applications connect to a single datastore.
- ObjectifyService() - Constructor for class com.googlecode.objectify.ObjectifyService
- ObjectifyService.Filter - Class in com.googlecode.objectify
-
This version is for the newer jakarta.servlet.* API.
- ObjectifyService.FilterJavax - Class in com.googlecode.objectify
-
This version is for the older javax.servlet.* API.
- ObjectTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
In case someone has a field of type Object or uses a raw collection without specifying the generic type.
- ObjectTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.ObjectTranslatorFactory
- of(Path) - Static method in class com.googlecode.objectify.impl.ForwardPath
-
Recursive method which reverses the path into a ForwardPath.
- of(String, Value<?>) - Method in enum com.googlecode.objectify.impl.FilterOperator
- 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.QueryDef
- offset(int) - Method in class com.googlecode.objectify.impl.SimpleQueryImpl
- ofy - Variable in class com.googlecode.objectify.impl.WriteEngine
- ofy() - Method in class com.googlecode.objectify.ObjectifyFactory
-
The method to call at any time to get the current Objectify, which may change depending on txn context.
- ofy() - Static method in class com.googlecode.objectify.ObjectifyService
-
A shortcut for
factory().ofy()
, this is your main start point for executing Objectify operations. - 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.
- open(ObjectifyOptions, Transactor) - Method in class com.googlecode.objectify.ObjectifyFactory
-
This is for internal housekeeping and is not part of the public API
- option(ReadOption...) - Method in interface com.googlecode.objectify.cmd.Loader
-
Enable the specified read option for this load.
- options - Variable in class com.googlecode.objectify.impl.ObjectifyImpl
- or(Filter...) - Static method in class com.googlecode.objectify.cmd.Filter
-
Combine an arbitrary list of filter conditions.
- 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
- orderBy(StructuredQuery.OrderBy) - Method in class com.googlecode.objectify.impl.QueryDef
- 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(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.
- parseOldStyleAppEngineKey(String) - Method in enum com.googlecode.objectify.util.KeyFormat
- 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 Futureinvalid input: '<'?> 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
- Populator<P> - Interface in com.googlecode.objectify.impl.translate
-
A populator knows how to copy properties between POJO objects and the native datastore representation.
- postExecuteHook() - Method in class com.googlecode.objectify.util.ResultCache
-
Executed once after the cached value is assigned.
- PrivateAsyncTransaction - Interface in com.googlecode.objectify.impl
-
A private interface for manipulating transactions.
- project(String) - Method in class com.googlecode.objectify.impl.QueryDef
- 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
- 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() - Constructor for class com.googlecode.objectify.impl.PropertyPopulator
- put(FullEntity<?>) - Method in class com.googlecode.objectify.util.cmd.TransactionWrapper
- put(FullEntity<?>...) - Method in interface com.googlecode.objectify.impl.AsyncDatastoreReaderWriter
- put(FullEntity<?>...) - Method in class com.googlecode.objectify.util.cmd.TransactionWrapper
- put(Iterable<? extends FullEntity<?>>) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreReaderWriter
- put(Iterable<? extends FullEntity<?>>) - Method in class com.googlecode.objectify.cache.CachingAsyncTransaction
- put(Iterable<? extends FullEntity<?>>) - Method in interface com.googlecode.objectify.impl.AsyncDatastoreReaderWriter
- put(Iterable<? extends FullEntity<?>>) - Method in class com.googlecode.objectify.impl.AsyncDatastoreReaderWriterImpl
- put(String, Object) - Method in interface com.googlecode.objectify.cache.MemcacheService
-
Values can be null
- put(String, Object) - Method in class com.googlecode.objectify.cache.spymemcached.SpyMemcacheService
- 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
- putAll(Map<String, Object>) - Method in interface com.googlecode.objectify.cache.MemcacheService
-
Values can be null
- putAll(Map<String, Object>) - Method in class com.googlecode.objectify.cache.spymemcached.SpyMemcacheService
- putIfUntouched(Map<Key, MemcacheService.CasPut>) - Method in class com.googlecode.objectify.cache.KeyMemcacheService
- putIfUntouched(Map<String, MemcacheService.CasPut>) - Method in interface com.googlecode.objectify.cache.MemcacheService
-
Values can be null
- putIfUntouched(Map<String, MemcacheService.CasPut>) - Method in class com.googlecode.objectify.cache.spymemcached.SpyMemcacheService
- putWithDeferredIdAllocation(FullEntity<?>...) - Method in class com.googlecode.objectify.util.cmd.TransactionWrapper
Q
- Queries - Class in com.googlecode.objectify.util
-
Some static utility methods for interacting with basic datastore objects like keys and queries.
- Queries() - Constructor for class com.googlecode.objectify.util.Queries
- Query<T> - Interface in com.googlecode.objectify.cmd
-
The basic options for a typed Query.
- queryAggregations(StructuredQuery<?>, Aggregation...) - Method in class com.googlecode.objectify.impl.QueryEngine
-
Run an arbitrary aggregation query.
- queryAggregations(StructuredQuery<?>, AggregationBuilder<?>...) - Method in class com.googlecode.objectify.impl.QueryEngine
-
Run an arbitrary aggregation query.
- QueryDef - Class in com.googlecode.objectify.impl
-
The SDK Query hierarchy and associated builders make it hard to convert between keys-only entity, and projection.
- QueryDef() - Constructor for class com.googlecode.objectify.impl.QueryDef
- QueryEngine - Class in com.googlecode.objectify.impl
-
Logic for dealing with queries.
- QueryEngine() - 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(KeyQuery, int) - 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(KeyQuery) - Method in class com.googlecode.objectify.impl.QueryEngine
-
Perform a keys-only query.
- queryNormal(EntityQuery, int) - Method in class com.googlecode.objectify.impl.QueryEngine
-
A normal, non-hybrid query
- queryProjection(ProjectionEntityQuery) - Method in class com.googlecode.objectify.impl.QueryEngine
-
A projection query.
- QueryResultIterable<T> - Interface in com.googlecode.objectify.cmd
-
Replaces a class from the old GAE SDK.
- 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 Futureinvalid input: '<'?>
- raw(Key<?>) - Static method in class com.googlecode.objectify.impl.Keys
-
Null-safe extraction of the raw key
- RawEntityTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Handle the native datastore FullEntity
- RawEntityTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.RawEntityTranslatorFactory
- 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, String) - 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
- RawKeyTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Handle the native datastore Key
- RawKeyTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.RawKeyTranslatorFactory
- RawValueTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Just in case anyone has a
Value<?>
field. - RawValueTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.RawValueTranslatorFactory
- ReadableInstantTranslatorFactory - Class in com.googlecode.objectify.impl.translate.opt.joda
-
Converts Joda ReadableInstants (DateTime, DateMidnight, etc) into Timestamp
- 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
- readTime(Instant) - Method in interface com.googlecode.objectify.cmd.Loader
-
Reads entities as they were at the given time.
- 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(Key<T>) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Create a Ref from an existing key
- ref(Key<T>) - Static method in class com.googlecode.objectify.ObjectifyService
-
Shortcut for the equivalent
factory().ref()
method, convenient as a static import. - ref(Ref<E>) - Method in interface com.googlecode.objectify.cmd.Loader
-
Load a single entity ref.
- ref(T) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Creates a Ref from a registered pojo entity
- ref(T) - Static method in class com.googlecode.objectify.ObjectifyService
-
Shortcut for the equivalent
factory().ref()
method, convenient as a static import. - Ref<T> - Class in com.googlecode.objectify
-
Refinvalid input: '<'?> is a Keyinvalid input: '<'?> which allows the entity value to be fetched directly.
- RefDeserializer - Class in com.googlecode.objectify.util.jackson
-
Will deserialize an Objectify Refinvalid input: '<'?> 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(Iterable<Ref<E>>) - Method in interface com.googlecode.objectify.cmd.Loader
-
Load multiple refs in a batch operation.
- RefSerializer - Class in com.googlecode.objectify.util.jackson
-
Serializing Refinvalid input: '<'?> 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 Refinvalid input: '<'?> 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
factory().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.util.TranslatingIterator
- removePending(Future<?>) - Static method in class com.googlecode.objectify.cache.PendingFutures
-
Deregister a pending Future that had a callback.
- REQUIRED - Enum constant in enum com.googlecode.objectify.TxnType
-
Use the existing transaction (if present), or start a new transaction if not.
- REQUIRES_NEW - Enum constant in enum 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 Resultinvalid input: '<'?>
- ResultNowFunction() - Constructor for class com.googlecode.objectify.util.ResultNowFunction
- ResultProxy<T> - Class in com.googlecode.objectify.util
-
A dynamic proxy that wraps a Resultinvalid input: '<'?> value.
- ResultProxy() - Constructor for class com.googlecode.objectify.util.ResultProxy
- 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 cursor.
- ResultWithCursor() - Constructor for class com.googlecode.objectify.impl.ResultWithCursor
- ResultWithCursor.Iterator<T> - Class in com.googlecode.objectify.impl
-
Turns QueryResults into an iterator of the {result, cursor} tuple
- 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
- rollback() - Method in class com.googlecode.objectify.cache.CachingAsyncTransaction
- rollback() - Method in interface com.googlecode.objectify.impl.AsyncTransaction
- rollback() - Method in class com.googlecode.objectify.impl.AsyncTransactionImpl
- rollback() - 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
-
Deprecated.
- run() - Method in interface com.googlecode.objectify.Work
- run(Query<T>) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreReaderWriter
- run(Query<T>) - Method in class com.googlecode.objectify.cache.CachingAsyncTransaction
- run(Query<T>) - Method in interface com.googlecode.objectify.impl.AsyncDatastoreReaderWriter
- run(Query<T>) - Method in class com.googlecode.objectify.impl.AsyncDatastoreReaderWriterImpl
- run(Query<T>) - Method in class com.googlecode.objectify.util.cmd.TransactionWrapper
- run(Work<R>) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Runs one unit of work, making the root Objectify context available and performing all necessary housekeeping.
- run(Work<R>) - Static method in class com.googlecode.objectify.ObjectifyService
-
Runs one unit of work, making the root Objectify context available.
- run(Runnable) - Method in class com.googlecode.objectify.ObjectifyFactory
-
Exactly the same behavior as the method that takes a
Work<R>
, but doesn't force you to return something from your lambda. - run(Runnable) - Static method in class com.googlecode.objectify.ObjectifyService
-
Exactly the same behavior as the method that takes a
Work<R>
, but doesn't force you to return something from your lambda. - runAggregation(AggregationQuery) - Method in class com.googlecode.objectify.cache.CachingAsyncDatastoreReaderWriter
- runAggregation(AggregationQuery) - Method in interface com.googlecode.objectify.impl.AsyncDatastoreReaderWriter
- runAggregation(AggregationQuery) - Method in class com.googlecode.objectify.impl.AsyncDatastoreReaderWriterImpl
- runCommitListeners() - Method in class com.googlecode.objectify.cache.CachingAsyncTransaction
- runCommitListeners() - Method in class com.googlecode.objectify.impl.AsyncTransactionImpl
- runCommitListeners() - Method in interface com.googlecode.objectify.impl.PrivateAsyncTransaction
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.
- 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, FullEntity.Builder<?>) - Method in class com.googlecode.objectify.impl.translate.NullPopulator
- 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, FullEntity.Builder<?>) - Method in class com.googlecode.objectify.impl.KeyPopulator
- save(P, boolean, SaveContext, Path, FullEntity.Builder<?>) - 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(P, boolean, SaveContext, Path, FullEntity.Builder<?>) - Method in class com.googlecode.objectify.impl.translate.ClassPopulator
- save(P, boolean, SaveContext, Path, FullEntity.Builder<?>) - Method in interface com.googlecode.objectify.impl.translate.Populator
-
Saves data from the POJO into the entity builder.
- 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 Class in com.googlecode.objectify
-
Thrown when something went wrong during the save translation process.
- SaveException(Object, Throwable) - Constructor for exception class 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, 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(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.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
- set(String) - Static method in class com.googlecode.objectify.NamespaceManager
-
Sets the default namespace for this thread.
- setCurrentRoot(Key<?>) - Method in class com.googlecode.objectify.impl.translate.LoadContext
-
Sets the current root entity
- setKey(FullEntity.Builder<K>, P) - Method in class com.googlecode.objectify.impl.KeyMetadata
-
Sets the key on a container from the POJO.
- setKey(P, FullEntity<?>, 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
- 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, Value<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).
- SimpleTranslatorFactory<P,
D> - Class in com.googlecode.objectify.impl.translate -
Simplest base class for most value translations.
- SimpleTranslatorFactory(Class<? extends P>, ValueType...) - Constructor for class com.googlecode.objectify.impl.translate.SimpleTranslatorFactory
- SkipException - Exception Class in com.googlecode.objectify.impl.translate
-
Thrown by any Translator that wants its value to be skipped.
- SkipException() - Constructor for exception class com.googlecode.objectify.impl.translate.SkipException
- skipLifecycle() - Method in class com.googlecode.objectify.impl.translate.SaveContext
-
Subclass can ignore lifecycle methods.
- SpyIdentifiableValue - Class in com.googlecode.objectify.cache.spymemcached
- SpyIdentifiableValue() - Constructor for class com.googlecode.objectify.cache.spymemcached.SpyIdentifiableValue
- SpyMemcacheService - Class in com.googlecode.objectify.cache.spymemcached
-
Among the issues this impl needs to be concerned with is that memcached doesn't store nulls.
- SpyMemcacheService() - Constructor for class com.googlecode.objectify.cache.spymemcached.SpyMemcacheService
- SqlDateTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
The datastore can't store java.sql.Date natively
- 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
- startCursor(Cursor) - Method in class com.googlecode.objectify.impl.QueryDef
- Stat() - Constructor for class com.googlecode.objectify.impl.EntityMemcacheStats.Stat
- stream() - Method in interface com.googlecode.objectify.cmd.QueryExecute
-
Execute the query and get the results as a Stream.
- 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.
- sum(String) - Method in interface com.googlecode.objectify.cmd.SimpleQuery
-
Sum the values of the specified property over the specified query.
- sumLong(String) - Method in interface com.googlecode.objectify.cmd.SimpleQuery
-
Sum the values of the specified property over the specified query.
- SUPPORTS - Enum constant in enum com.googlecode.objectify.TxnType
-
Inherits previous transaction state.
- 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
- 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.
- throwNullPointer(String) - Method in class com.googlecode.objectify.impl.Path
-
Convenient way to include path location in the exception message.
- TimestampTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Handle the native datastore Timestamp
- TimestampTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.TimestampTranslatorFactory
- TimeZoneTranslatorFactory - Class in com.googlecode.objectify.impl.translate
-
Converts java.util.TimeZone
- TimeZoneTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.TimeZoneTranslatorFactory
- toArray(Collection<Key>) - Static method in class com.googlecode.objectify.impl.Keys
- toDatastore(byte[]) - Method in class com.googlecode.objectify.impl.translate.ByteArrayTranslatorFactory
- toDatastore(Blob) - Method in class com.googlecode.objectify.impl.translate.BlobTranslatorFactory
- toDatastore(FullEntity<?>) - Method in class com.googlecode.objectify.impl.translate.RawEntityTranslatorFactory
- toDatastore(Key) - Method in class com.googlecode.objectify.impl.translate.RawKeyTranslatorFactory
- toDatastore(LatLng) - Method in class com.googlecode.objectify.impl.translate.LatLngTranslatorFactory
- toDatastore(Timestamp) - Method in class com.googlecode.objectify.impl.translate.TimestampTranslatorFactory
- toDatastore(Key<?>) - Method in class com.googlecode.objectify.impl.translate.KeyTranslatorFactory
- toDatastore(Boolean) - Method in class com.googlecode.objectify.impl.translate.BooleanTranslatorFactory
- toDatastore(String) - Method in class com.googlecode.objectify.impl.translate.StringTranslatorFactory
- toDatastore(BigDecimal) - Method in class com.googlecode.objectify.impl.translate.opt.BigDecimalLongTranslatorFactory
- toDatastore(URL) - Method in class com.googlecode.objectify.impl.translate.URLTranslatorFactory
- toDatastore(Date) - Method in class com.googlecode.objectify.impl.translate.SqlDateTranslatorFactory
- toDatastore(Instant) - Method in class com.googlecode.objectify.impl.translate.InstantTranslatorFactory
- toDatastore(Date) - Method in class com.googlecode.objectify.impl.translate.DateTranslatorFactory
- toDatastore(TimeZone) - Method in class com.googlecode.objectify.impl.translate.TimeZoneTranslatorFactory
- toDatastore(BigMoney) - Method in class com.googlecode.objectify.impl.translate.opt.joda.BigMoneyStringTranslatorFactory
- toDatastore(Money) - Method in class com.googlecode.objectify.impl.translate.opt.joda.MoneyStringTranslatorFactory
- toDatastore(DateTimeZone) - Method in class com.googlecode.objectify.impl.translate.opt.joda.DateTimeZoneTranslatorFactory
- toDatastore(P) - Method in class com.googlecode.objectify.impl.translate.SimpleTranslatorFactory
- 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
- toLegacyUrlSafe() - Method in class com.googlecode.objectify.Key
-
Generates the string that would have been generated by the old appengine SDK.
- toPathString() - Method in class com.googlecode.objectify.impl.Path
-
Create the full x.y.z string
- toPojo(Value<Blob>) - Method in class com.googlecode.objectify.impl.translate.BlobTranslatorFactory
- toPojo(Value<Blob>) - Method in class com.googlecode.objectify.impl.translate.ByteArrayTranslatorFactory
- toPojo(Value<FullEntity<?>>) - Method in class com.googlecode.objectify.impl.translate.RawEntityTranslatorFactory
- toPojo(Value<Key>) - Method in class com.googlecode.objectify.impl.translate.KeyTranslatorFactory
- toPojo(Value<Key>) - Method in class com.googlecode.objectify.impl.translate.RawKeyTranslatorFactory
- toPojo(Value<LatLng>) - Method in class com.googlecode.objectify.impl.translate.LatLngTranslatorFactory
- toPojo(Value<Timestamp>) - Method in class com.googlecode.objectify.impl.translate.DateTranslatorFactory
- toPojo(Value<Timestamp>) - Method in class com.googlecode.objectify.impl.translate.InstantTranslatorFactory
- toPojo(Value<Timestamp>) - Method in class com.googlecode.objectify.impl.translate.SqlDateTranslatorFactory
- toPojo(Value<Timestamp>) - Method in class com.googlecode.objectify.impl.translate.TimestampTranslatorFactory
- toPojo(Value<D>) - Method in class com.googlecode.objectify.impl.translate.SimpleTranslatorFactory
- toPojo(Value<Boolean>) - Method in class com.googlecode.objectify.impl.translate.BooleanTranslatorFactory
- toPojo(Value<Long>) - Method in class com.googlecode.objectify.impl.translate.opt.BigDecimalLongTranslatorFactory
- toPojo(Value<String>) - Method in class com.googlecode.objectify.impl.translate.opt.joda.BigMoneyStringTranslatorFactory
- toPojo(Value<String>) - Method in class com.googlecode.objectify.impl.translate.opt.joda.DateTimeZoneTranslatorFactory
- toPojo(Value<String>) - Method in class com.googlecode.objectify.impl.translate.opt.joda.MoneyStringTranslatorFactory
- toPojo(Value<String>) - Method in class com.googlecode.objectify.impl.translate.StringTranslatorFactory
- toPojo(Value<String>) - Method in class com.googlecode.objectify.impl.translate.TimeZoneTranslatorFactory
- toPojo(Value<String>) - Method in class com.googlecode.objectify.impl.translate.URLTranslatorFactory
- 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
- toUrlSafe() - Method in class com.googlecode.objectify.Key
-
Call toUrlSafe() on the underlying Key.
- transact(ObjectifyImpl, Work<R>) - Method in class com.googlecode.objectify.impl.Transactor
- 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 force you to return something from your lambda.
- transactionless(ObjectifyImpl) - Method in class com.googlecode.objectify.impl.Transactor
-
Deprecated.
- transactionless(ObjectifyImpl, Work<R>) - Method in class com.googlecode.objectify.impl.Transactor
- transactionless(Work<R>) - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- transactionless(Work<R>) - Method in interface com.googlecode.objectify.Objectify
-
Executes work outside of a transaction.
- transactionless(Runnable) - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- transactionless(Runnable) - Method in interface com.googlecode.objectify.Objectify
-
Exactly the same behavior as the Work version, but doesn't return anything.
- TransactionWrapper - Class in com.googlecode.objectify.util.cmd
-
Simple pass-through to the base methods.
- TransactionWrapper() - 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(int, Runnable) - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- transactNew(int, Runnable) - Method in interface com.googlecode.objectify.Objectify
-
Exactly the same behavior as the Work version, but doesn't return anything.
- transactNew(ObjectifyImpl, int, Work<R>) - Method in class com.googlecode.objectify.impl.Transactor
- 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.
- transactNew(Runnable) - Method in class com.googlecode.objectify.impl.ObjectifyImpl
- transactNew(Runnable) - Method in interface com.googlecode.objectify.Objectify
-
Exactly the same behavior as the Work version, but doesn't return anything.
- transactor - Variable in class com.googlecode.objectify.impl.ObjectifyImpl
- Transactor - Class in com.googlecode.objectify.impl
-
Determines the transactional behavior of an ObjectifyImpl instance.
- 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(String) - Method in class com.googlecode.objectify.impl.QueryImpl
-
Converts the textual operator (">", "invalid input: '<'=", 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 Class 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 class 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
- TranslatingQueryResults<F,
T> - Class in com.googlecode.objectify.util -
QueryResultIterator wrapper that translates from one type to another
- TranslatingQueryResults(QueryResults<F>) - Constructor for class com.googlecode.objectify.util.TranslatingQueryResults
- 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
- 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 Futureinvalid input: '<'?> 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 Futureinvalid input: '<'?>
- 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 Futureinvalid input: '<'?>
- 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.
- TypeArgumentNotInBoundException - Exception Class 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 class 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(ObjectifyOptions, 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() - Element 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.
- update(Entity...) - Method in class com.googlecode.objectify.util.cmd.TransactionWrapper
- 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() - Element in annotation type com.googlecode.objectify.annotation.AlsoLoad
- value() - Element in annotation type com.googlecode.objectify.annotation.IgnoreSave
- value() - Element in annotation type com.googlecode.objectify.annotation.Index
- value() - Element in annotation type com.googlecode.objectify.annotation.Load
-
Groups which indicate the value should be loaded.
- value() - Element 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() - Element 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() - Element in annotation type com.googlecode.objectify.annotation.Translate
-
Factory class which will be applied to this field.
- value() - Element 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.
- 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 enum com.googlecode.objectify.impl.FilterOperator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class com.googlecode.objectify.Key
-
This is an alias for Key.create(String).
- valueOf(String) - Static method in enum com.googlecode.objectify.TxnType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.googlecode.objectify.util.KeyFormat
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.googlecode.objectify.impl.FilterOperator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- 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() - Static method in enum com.googlecode.objectify.util.KeyFormat
-
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(Object...) - Method in interface com.googlecode.objectify.cmd.Loader
-
A convenient substitute for values(Iterable)
- Values - Class in com.googlecode.objectify.util
-
Some static utility methods for interacting with
Value<?>
- Values() - Constructor for class com.googlecode.objectify.util.Values
- ValueTranslator<P,
D> - Class in com.googlecode.objectify.impl.translate -
Translator that should be extended for typical atomic values.
- ValueTranslator(ValueType...) - Constructor for class com.googlecode.objectify.impl.translate.ValueTranslator
- ValueTranslatorFactory<P,
D> - Class in com.googlecode.objectify.impl.translate -
Provides a little boilerplate for translators that work on simple atomic types.
- ValueTranslatorFactory() - Constructor for class com.googlecode.objectify.impl.translate.ValueTranslatorFactory
- VoidWork - Class in com.googlecode.objectify
-
Deprecated.There are overloads for etc that take a instead.
- VoidWork() - Constructor for class com.googlecode.objectify.VoidWork
-
Deprecated.
- vrun() - Method in class com.googlecode.objectify.VoidWork
-
Deprecated.
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
- wrap(K) - Method in class com.googlecode.objectify.util.FutureWrapper
- WriteEngine - Class in com.googlecode.objectify.impl
-
This is the master logic for saving and deleting entities from the datastore.
- WriteEngine(ObjectifyImpl, AsyncDatastoreReaderWriter, Session, Deferrer) - Constructor for class com.googlecode.objectify.impl.WriteEngine
- 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() - Element in annotation type com.googlecode.objectify.annotation.Serialize
-
If true, the data stream will be compressed on write using a DeflatorInputStream.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form