Uses of Interface
com.googlecode.objectify.impl.translate.TranslatorFactory
Packages that use TranslatorFactory
Package
Description
-
Uses of TranslatorFactory in com.googlecode.objectify.impl.translate
Classes in com.googlecode.objectify.impl.translate that implement TranslatorFactoryModifier and TypeClassDescriptionclassTranslator which can load an array of things.classHandle the native datastore BlobclassHandle Boolean and boolean typesclassTranslates a byte[] to Blob.classTranslator which maps classes, both normal embedded classes and Entity classes.classTranslator which can load things into a collection field.classTranslator factory which lets users create @Container properties.classThe datastore can't store java.util.Date nativelyclassTranslator which turns a Map<String, ?> into an EmbeddedEntity.classEnumTranslatorFactory<E extends Enum<E>>Knows how to convert Enums to the datastore StringclassFloats are funky in the datastore.classHandle java.time.InstantclassIntegers are funky in the datastore.classKnows how to convert Key<?> objects to datastore-native Key objects and vice-versa.classHandle the native datastore LatLngclassThis 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.classIn case someone has a field of type Object or uses a raw collection without specifying the generic type.classHandle the native datastore FullEntityclassHandle the native datastore KeyclassJust in case anyone has aValue<?>field.classKnows how to convert Ref<?> objects to datastore-native Key objects and vice-versa.classLoader which can load any serialized thing from a Blob.classSimplest base class for most value translations.classThe datastore can't store java.sql.Date nativelyclassKnows how to convert Strings.classHandle the native datastore TimestampclassConverts java.util.TimeZoneclassTranslator factory which lets users define a custom translator for a field.classThe datastore can't store URL, so translate it to a String and back.classProvides a little boilerplate for translators that work on simple atomic types.Methods in com.googlecode.objectify.impl.translate with parameters of type TranslatorFactoryModifier and TypeMethodDescriptionvoidTranslators.add(TranslatorFactory<?, ?> trans) Add a new translator to the list.voidTranslators.addEarly(TranslatorFactory<?, ?> trans) Add a new translator to the beginning of the list, before all other translators except other translators that have been added early. -
Uses of TranslatorFactory in com.googlecode.objectify.impl.translate.opt
Classes in com.googlecode.objectify.impl.translate.opt that implement TranslatorFactoryModifier and TypeClassDescriptionclassThis a simple strategy for storing BigDecimal in the datastore. -
Uses of TranslatorFactory in com.googlecode.objectify.impl.translate.opt.joda
Classes in com.googlecode.objectify.impl.translate.opt.joda that implement TranslatorFactoryModifier and TypeClassDescriptionclassStores BigMoney as its string representation.classStores a joda DateTimeZone as its String id.classStores Money as its string representation.classConverts Joda ReadableInstants (DateTime, DateMidnight, etc) into TimestampclassConverts Joda ReadablePartials (LocalDate, LocalDateTime, YearMonth, etc) into String (ISO-8601) representation