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 Details

    • EntityPropertyValueProvider

      public EntityPropertyValueProvider(com.google.cloud.datastore.BaseEntity entity, ReadWriteConversions readWriteConversions)
  • Method Details

    • getPropertyValue

      public <T> T getPropertyValue(DatastorePersistentProperty persistentProperty)
      Specified by:
      getPropertyValue in interface org.springframework.data.mapping.model.PropertyValueProvider<DatastorePersistentProperty>
    • getPropertyValue

      public <T> T getPropertyValue(String fieldName, EmbeddedType embeddedType, org.springframework.data.util.TypeInformation targetTypeInformation)