Class EntityPropertyValueProvider
java.lang.Object
com.google.cloud.spring.data.datastore.core.convert.EntityPropertyValueProvider
- All Implemented Interfaces:
org.springframework.data.mapping.model.PropertyValueProvider<DatastorePersistentProperty>
public class EntityPropertyValueProvider
extends Object
implements org.springframework.data.mapping.model.PropertyValueProvider<DatastorePersistentProperty>
A
PropertyValueProvider
for Datastore entities.- Since:
- 1.1
-
Constructor Summary
ConstructorDescriptionEntityPropertyValueProvider
(com.google.cloud.datastore.BaseEntity entity, ReadWriteConversions readWriteConversions) -
Method Summary
Modifier and TypeMethodDescription<T> T
getPropertyValue
(DatastorePersistentProperty persistentProperty) <T> T
getPropertyValue
(String fieldName, EmbeddedType embeddedType, org.springframework.data.util.TypeInformation targetTypeInformation)
-
Constructor Details
-
EntityPropertyValueProvider
public EntityPropertyValueProvider(com.google.cloud.datastore.BaseEntity entity, ReadWriteConversions readWriteConversions)
-
-
Method Details
-
getPropertyValue
- Specified by:
getPropertyValue
in interfaceorg.springframework.data.mapping.model.PropertyValueProvider<DatastorePersistentProperty>
-
getPropertyValue
public <T> T getPropertyValue(String fieldName, EmbeddedType embeddedType, org.springframework.data.util.TypeInformation targetTypeInformation)
-