Interface | Description |
---|---|
Populator<P> |
A populator knows how to copy properties between POJO objects and a PropertiesContainer.
|
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.
|
AsIsTranslatorFactory |
This should be near the end of the translation discovery chain.
|
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.
|
Creator<P> |
Factory for POJO and PropertyContainer objects.
|
EmbeddedCreator<P> |
This version is for creating normal embedded objects.
|
EmbeddedMapTranslatorFactory |
Translator which turns a Map<String, ?> into an EmbeddedEntity.
|
EntityCreator<P> |
This version is for creating entity objects, which could be embedded or top-level.
|
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
|
KeyTranslatorFactory |
Knows how to convert Key> objects to datastore-native Key objects and vice-versa.
|
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.
|
NumberTranslatorFactory |
Numbers are funky in the datastore.
|
ProjectionSafeTranslator<P,D> |
Watches out for RawValue and performs the necessary conversion if we get one.
|
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.
|
SqlDateTranslatorFactory |
The datastore can't store java.sql.Date, but it can do java.util.Date.
|
StringTranslatorFactory |
Knows how to convert Strings.
|
TextTranslatorFactory |
Knows how to convert Texts.
|
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> |
A bit of code that does the required type checking and casting so that we have nice typed methods.
|
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 © 2016. All rights reserved.