Package | Description |
---|---|
com.googlecode.objectify.impl | |
com.googlecode.objectify.impl.translate |
Modifier and Type | Method and Description |
---|---|
void |
PropertyPopulator.setValue(Object pojo,
D value,
LoadContext ctx,
Path containerPath)
Set this raw datastore value on the relevant property of the pojo, doing whatever translations are necessary.
|
Modifier and Type | Method and Description |
---|---|
P |
TranslatorRecycles.load(D node,
LoadContext ctx,
Path path) |
P |
Translator.load(D node,
LoadContext ctx,
Path path)
Loads the content of the specified datastore node, returning the pojo equivalent.
|
P |
NullSafeTranslator.load(D node,
LoadContext ctx,
Path path) |
Object |
EntityTranslator.load(com.google.appengine.api.datastore.PropertyContainer container,
LoadContext ctx,
Path path) |
P |
EntityCreator.load(com.google.appengine.api.datastore.PropertyContainer container,
LoadContext ctx,
Path path) |
P |
EmbeddedCreator.load(com.google.appengine.api.datastore.PropertyContainer node,
LoadContext ctx,
Path path) |
protected P |
ProjectionSafeTranslator.loadSafe(D value,
LoadContext ctx,
Path path) |
protected abstract P |
NullSafeTranslator.loadSafe(D node,
LoadContext ctx,
Path path)
Implement this, returning a proper translated value
|
P |
ClassTranslator.loadSafe(com.google.appengine.api.datastore.PropertyContainer container,
LoadContext ctx,
Path path) |
protected P |
ValueTranslator.loadSafe2(D value,
LoadContext ctx,
Path path) |
protected abstract P |
ProjectionSafeTranslator.loadSafe2(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.
|
protected abstract P |
ValueTranslator.loadValue(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.
|
com.google.appengine.api.datastore.PropertyContainer |
EntityTranslator.save(Object pojo,
boolean index,
SaveContext ctx,
Path path) |
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.
|
D |
NullSafeTranslator.save(P pojo,
boolean index,
SaveContext ctx,
Path path) |
com.google.appengine.api.datastore.PropertyContainer |
EntityCreator.save(P pojo,
boolean index,
SaveContext ctx,
Path path) |
com.google.appengine.api.datastore.PropertyContainer |
EmbeddedCreator.save(P pojo,
boolean index,
SaveContext ctx,
Path path) |
protected D |
ValueTranslator.saveSafe(P pojo,
boolean index,
SaveContext ctx,
Path path) |
protected abstract D |
NullSafeTranslator.saveSafe(P pojo,
boolean index,
SaveContext ctx,
Path path)
Implement this, returning a proper translated value
|
com.google.appengine.api.datastore.PropertyContainer |
ClassTranslator.saveSafe(P pojo,
boolean index,
SaveContext ctx,
Path path) |
protected abstract D |
ValueTranslator.saveValue(P value,
boolean index,
SaveContext ctx,
Path path)
Encode from a normal pojo value to a format that the datastore understands.
|
Copyright © 2016. All rights reserved.