public class RawValueTranslatorFactory extends Object implements TranslatorFactory<com.google.cloud.datastore.Value<Object>,Object>
Just in case anyone has a Value<?>
field. Just store it as-is.
Constructor and Description |
---|
RawValueTranslatorFactory() |
Modifier and Type | Method and Description |
---|---|
Translator<com.google.cloud.datastore.Value<Object>,Object> |
create(TypeKey<com.google.cloud.datastore.Value<Object>> tk,
CreateContext ctx,
Path path)
Create a translator for a type.
|
public Translator<com.google.cloud.datastore.Value<Object>,Object> create(TypeKey<com.google.cloud.datastore.Value<Object>> tk, CreateContext ctx, Path path)
TranslatorFactory
create
in interface TranslatorFactory<com.google.cloud.datastore.Value<Object>,Object>
tk
- defines the type which is to be translatedpath
- is where this type was discovered, important for logging and exceptionsCopyright © 2019. All rights reserved.