Interface | Description |
---|---|
Populator<P> |
A populator knows how to copy properties between POJO objects and the native datastore representation.
|
Recycles |
Marker interface for a translator that indicates that, when loading, it is sensitive to the previously
existing value in a field.
|
Synthetic |
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.
|
Translator<P,D> |
A translator knows how convert between POJO objects and the native datastore representation.
|
TranslatorFactory<P,D> |
A translator knows how to convert between a POJO and a native datastore representation.
|
Class | Description |
---|---|
ArrayTranslatorFactory |
Translator which can load an array of things.
|
BlobTranslatorFactory |
Handle the native datastore Blob
|
BooleanTranslatorFactory |
Handle Boolean and boolean types
|
ByteArrayTranslatorFactory |
Translates a byte[] to Blob.
|
ClassPopulator<P> |
Used by translators to populate properties between POJO and PropertiesContainer.
|
ClassTranslator<P> |
Some common code for Translators which know how to convert a POJO type into a PropertiesContainer.
|
ClassTranslatorFactory<P> |
Translator which maps classes, both normal embedded classes and Entity classes.
|
CollectionTranslatorFactory |
Translator which can load things into a collection field.
|
ContainerTranslatorFactory |
Translator factory which lets users create @Container properties.
|
CreateContext |
The context while creating translator factories.
|
DateTranslatorFactory |
The datastore can't store java.util.Date natively
|
EmbeddedMapTranslatorFactory |
Translator which turns a Map<String, ?> into an EmbeddedEntity.
|
EntityTranslator |
Translator which can translate arbitrary entities based on registered kinds.
|
EnumTranslatorFactory<E extends Enum<E>> |
Knows how to convert Enums to the datastore String
|
FloatTranslatorFactory |
Floats are funky in the datastore.
|
IntegerTranslatorFactory |
Integers are funky in the datastore.
|
KeyTranslatorFactory |
Knows how to convert Key> objects to datastore-native Key objects and vice-versa.
|
LatLngTranslatorFactory |
Handle the native datastore LatLng
|
LifecycleMethod |
A lifecycle method that can be executed on a POJO
|
LoadContext |
The context of a load operation, which may extend across several entities (for example, a batch).
|
MapifyTranslatorFactory |
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.
|
NullPopulator |
Populator which does nothing.
|
NullSafeTranslator<P,D> |
Handles null checking so we don't have to do it everywhere.
|
ObjectTranslatorFactory |
In case someone has a field of type Object or uses a raw collection without specifying the generic type.
|
RawEntityTranslatorFactory |
Handle the native datastore FullEntity
|
RawKeyTranslatorFactory |
Handle the native datastore Key
|
RawValueTranslatorFactory |
Just in case anyone has a
Value<?> field. |
RefTranslatorFactory |
Knows how to convert Ref> objects to datastore-native Key objects and vice-versa.
|
SaveContext |
The context of a save operation; might involve multiple entities (eg, batch save).
|
SerializeTranslatorFactory |
Loader which can load any serialized thing from a Blob.
|
SimpleTranslatorFactory<P,D> |
Simplest base class for most value translations.
|
SqlDateTranslatorFactory |
The datastore can't store java.sql.Date natively
|
StringTranslatorFactory |
Knows how to convert Strings.
|
TimestampTranslatorFactory |
Handle the native datastore Timestamp
|
TimeZoneTranslatorFactory |
Converts java.util.TimeZone
|
TranslateTranslatorFactory |
Translator factory which lets users define a custom translator for a field.
|
TranslatorRecycles<P,D> |
Combines Translator with Recycles, useful so that we can create anonymous classes.
|
Translators |
Manages all the translators used to map between POJO fields and the
types that the Datastore can actually persist.
|
TypeKey<T> |
Unique identifier for a translator instance.
|
URLTranslatorFactory |
The datastore can't store URL, so translate it to a String and back.
|
ValueTranslator<P,D> |
Translator that should be extended for typical atomic values.
|
ValueTranslatorFactory<P,D> |
Provides a little boilerplate for translators that work on simple atomic types.
|
Exception | Description |
---|---|
SkipException |
Thrown by any Translator that wants its value to be skipped.
|
Copyright © 2018. All rights reserved.