Class MapifyTranslatorFactory

java.lang.Object
com.googlecode.objectify.impl.translate.MapifyTranslatorFactory
All Implemented Interfaces:
TranslatorFactory<Map<Object,​Object>,​Collection<Object>>

public class MapifyTranslatorFactory
extends Object
implements TranslatorFactory<Map<Object,​Object>,​Collection<Object>>

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. The values will be written to the collection, not the keys.

Author:
Jeff Schnitzer