public class LatLngTranslatorFactory extends SimpleTranslatorFactory<com.google.cloud.datastore.LatLng,com.google.cloud.datastore.LatLng>
Handle the native datastore LatLng
Constructor and Description |
---|
LatLngTranslatorFactory() |
Modifier and Type | Method and Description |
---|---|
protected com.google.cloud.datastore.Value<com.google.cloud.datastore.LatLng> |
toDatastore(com.google.cloud.datastore.LatLng value) |
protected com.google.cloud.datastore.LatLng |
toPojo(com.google.cloud.datastore.Value<com.google.cloud.datastore.LatLng> value) |
createValueTranslator
create
protected com.google.cloud.datastore.LatLng toPojo(com.google.cloud.datastore.Value<com.google.cloud.datastore.LatLng> value)
toPojo
in class SimpleTranslatorFactory<com.google.cloud.datastore.LatLng,com.google.cloud.datastore.LatLng>
protected com.google.cloud.datastore.Value<com.google.cloud.datastore.LatLng> toDatastore(com.google.cloud.datastore.LatLng value)
toDatastore
in class SimpleTranslatorFactory<com.google.cloud.datastore.LatLng,com.google.cloud.datastore.LatLng>
Copyright © 2019. All rights reserved.