Translator<Object,List<? extends com.google.cloud.datastore.Value<?>>> |
ArrayTranslatorFactory.create(TypeKey<Object> tk,
CreateContext ctx,
Path path) |
|
ClassTranslator<P> |
ClassTranslatorFactory.create(TypeKey<P> tk,
CreateContext ctx,
Path path) |
|
Translator<Collection<Object>,List<? extends com.google.cloud.datastore.Value<?>>> |
CollectionTranslatorFactory.create(TypeKey<Collection<Object>> tk,
CreateContext ctx,
Path path) |
|
Translator<Object,Object> |
ContainerTranslatorFactory.create(TypeKey<Object> tk,
CreateContext ctx,
Path path) |
|
Translator<Map<Object,Object>,com.google.cloud.datastore.FullEntity<?>> |
EmbeddedMapTranslatorFactory.create(TypeKey<Map<Object,Object>> tk,
CreateContext ctx,
Path path) |
|
Translator<Number,Double> |
FloatTranslatorFactory.create(TypeKey<Number> tk,
CreateContext ctx,
Path path) |
|
Translator<Number,Long> |
IntegerTranslatorFactory.create(TypeKey<Number> tk,
CreateContext ctx,
Path path) |
|
Translator<Map<Object,Object>,List<? extends com.google.cloud.datastore.Value<?>>> |
MapifyTranslatorFactory.create(TypeKey<Map<Object,Object>> tk,
CreateContext ctx,
Path path) |
|
Translator<Object,Object> |
ObjectTranslatorFactory.create(TypeKey<Object> tk,
CreateContext createCtx,
Path path) |
|
Translator<com.google.cloud.datastore.Value<Object>,Object> |
RawValueTranslatorFactory.create(TypeKey<com.google.cloud.datastore.Value<Object>> tk,
CreateContext ctx,
Path path) |
|
Translator<Object,com.google.cloud.datastore.Blob> |
SerializeTranslatorFactory.create(TypeKey<Object> tk,
CreateContext ctx,
Path path) |
|
Translator<Object,Object> |
TranslateTranslatorFactory.create(TypeKey<Object> tk,
CreateContext ctx,
Path path) |
|
Translator<P,D> |
TranslatorFactory.create(TypeKey<P> tk,
CreateContext ctx,
Path path) |
Create a translator for a type.
|
Translator<P,D> |
ValueTranslatorFactory.create(TypeKey<P> tk,
CreateContext ctx,
Path path) |
|
protected ValueTranslator<Enum<E>,String> |
EnumTranslatorFactory.createValueTranslator(TypeKey<Enum<E>> tk,
CreateContext ctx,
Path path) |
|
protected ValueTranslator<Ref<?>,com.google.cloud.datastore.Key> |
RefTranslatorFactory.createValueTranslator(TypeKey<Ref<?>> tk,
CreateContext ctx,
Path path) |
|
protected ValueTranslator<P,D> |
SimpleTranslatorFactory.createValueTranslator(TypeKey<P> tk,
CreateContext ctx,
Path path) |
|
protected abstract ValueTranslator<P,D> |
ValueTranslatorFactory.createValueTranslator(TypeKey<P> tk,
CreateContext ctx,
Path path) |
Create a translator, knowing that we have the appropriate type.
|
<P,D> Translator<P,D> |
Translators.get(TypeKey tk,
CreateContext ctx,
Path path) |
Obtains the Translator appropriate for this type and annotations.
|
Object |
LoadContext.getContainer(Type containerType,
Path path) |
Get the container object which is appropriate for the specified property.
|
<P> Populator<P> |
CreateContext.getPopulator(Class<P> clazz,
Path path) |
Get the populator for the specified class.
|
<P,D> Translator<P,D> |
CreateContext.getTranslator(TypeKey<P> tk,
CreateContext ctx,
Path path) |
Get the relevant translator, creating it if necessary.
|
void |
ClassPopulator.load(com.google.cloud.datastore.FullEntity<?> node,
LoadContext ctx,
Path path,
P into) |
|
Object |
EntityTranslator.load(com.google.cloud.datastore.Value<com.google.cloud.datastore.FullEntity<?>> container,
LoadContext ctx,
Path path) |
|
void |
NullPopulator.load(com.google.cloud.datastore.FullEntity<?> node,
LoadContext ctx,
Path path,
Object into) |
|
P |
NullSafeTranslator.load(com.google.cloud.datastore.Value<D> node,
LoadContext ctx,
Path path) |
|
void |
Populator.load(com.google.cloud.datastore.FullEntity<?> node,
LoadContext ctx,
Path path,
P into) |
Loads the content of the specified datastore node into an existing POJO.
|
P |
Translator.load(com.google.cloud.datastore.Value<D> node,
LoadContext ctx,
Path path) |
Loads the content of the specified datastore node, returning the pojo equivalent.
|
P |
TranslatorRecycles.load(com.google.cloud.datastore.Value<D> node,
LoadContext ctx,
Path path) |
|
protected abstract P |
TranslatorRecycles.loadInto(com.google.cloud.datastore.Value<D> node,
LoadContext ctx,
Path path,
P into) |
|
P |
ClassTranslator.loadSafe(com.google.cloud.datastore.Value<com.google.cloud.datastore.FullEntity<?>> container,
LoadContext ctx,
Path path) |
|
protected abstract P |
NullSafeTranslator.loadSafe(com.google.cloud.datastore.Value<D> node,
LoadContext ctx,
Path path) |
Implement this, returning a proper translated value
|
protected P |
ValueTranslator.loadSafe(com.google.cloud.datastore.Value<D> value,
LoadContext ctx,
Path path) |
|
protected abstract P |
ValueTranslator.loadValue(com.google.cloud.datastore.Value<D> value,
LoadContext ctx,
Path path) |
Decode from a property value as stored in the datastore to a type that will be stored in a pojo.
|
void |
ClassPopulator.save(P pojo,
boolean index,
SaveContext ctx,
Path path,
com.google.cloud.datastore.FullEntity.Builder<?> into) |
|
com.google.cloud.datastore.Value<com.google.cloud.datastore.FullEntity<?>> |
EntityTranslator.save(Object pojo,
boolean index,
SaveContext ctx,
Path path) |
|
void |
NullPopulator.save(Object pojo,
boolean index,
SaveContext ctx,
Path path,
com.google.cloud.datastore.FullEntity.Builder<?> into) |
|
com.google.cloud.datastore.Value<D> |
NullSafeTranslator.save(P pojo,
boolean index,
SaveContext ctx,
Path path) |
|
void |
Populator.save(P pojo,
boolean index,
SaveContext ctx,
Path path,
com.google.cloud.datastore.FullEntity.Builder<?> into) |
Saves data from the POJO into the entity builder.
|
com.google.cloud.datastore.Value<D> |
Translator.save(P pojo,
boolean index,
SaveContext ctx,
Path path) |
Translates a pojo (or some component thereof) into a format suitable for storage in the datastore.
|
com.google.cloud.datastore.Value<com.google.cloud.datastore.FullEntity<?>> |
ClassTranslator.saveSafe(P pojo,
boolean index,
SaveContext ctx,
Path path) |
|
protected abstract com.google.cloud.datastore.Value<D> |
NullSafeTranslator.saveSafe(P pojo,
boolean index,
SaveContext ctx,
Path path) |
Implement this, returning a proper translated value
|
protected com.google.cloud.datastore.Value<D> |
ValueTranslator.saveSafe(P pojo,
boolean index,
SaveContext ctx,
Path path) |
|
protected abstract com.google.cloud.datastore.Value<D> |
ValueTranslator.saveValue(P value,
SaveContext ctx,
Path path) |
Encode from a normal pojo value to a format that the datastore understands.
|