public class DatastorePersistentPropertyImpl extends org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<DatastorePersistentProperty> implements DatastorePersistentProperty
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.data.mapping.Association<DatastorePersistentProperty> |
createAssociation() |
EmbeddedType |
getEmbeddedType()
Get the
EmbeddedType of the property indicating what what type of embedding
pathway will be used to store the property. |
String |
getFieldName()
Get the name of the field to store this property in Datastore.
|
Iterable<? extends org.springframework.data.util.TypeInformation<?>> |
getPersistentEntityTypes() |
boolean |
isColumnBacked()
True if the property is stored within Datastore entity.
|
boolean |
isDescendants()
Whether the property contains entities that are related to this entity via the
Cloud Datastore Ancestor relationship and have this entity as their ancestor.
|
boolean |
isLazyLoaded()
Return whether this property is a lazily-fetched one.
|
boolean |
isUnindexed()
True if the property should be excluded from indexes.
|
findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetType, getSpelExpression, isAnnotationPresent, isAssociation, isIdProperty, isTransient, isVersionProperty, isWritable, toString, usePropertyAccessequals, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getProperty, getRawType, getSetter, getType, getTypeInformation, getWither, hashCode, isArray, isCollectionLike, isEntity, isImmutable, isMapclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindAnnotation, findPropertyOrOwnerAnnotation, getAccessorForOwner, getActualType, getAssociation, getAssociationTargetType, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getRawType, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, getSetter, getSpelExpression, getType, getTypeInformation, getWither, hasActualTypeAnnotation, isAnnotationPresent, isArray, isAssociation, isCollectionLike, isEntity, isIdProperty, isImmutable, isMap, isTransient, isVersionProperty, isWritable, usePropertyAccesspublic String getFieldName()
DatastorePersistentPropertygetFieldName in interface DatastorePersistentPropertypublic boolean isDescendants()
DatastorePersistentPropertyisDescendants in interface DatastorePersistentPropertytrue if the property contains child entities. false
otherwise.public boolean isUnindexed()
DatastorePersistentPropertyisUnindexed in interface DatastorePersistentPropertypublic boolean isColumnBacked()
DatastorePersistentPropertyisColumnBacked in interface DatastorePersistentPropertypublic EmbeddedType getEmbeddedType()
DatastorePersistentPropertyEmbeddedType of the property indicating what what type of embedding
pathway will be used to store the property.getEmbeddedType in interface DatastorePersistentPropertyprotected org.springframework.data.mapping.Association<DatastorePersistentProperty> createAssociation()
createAssociation in class org.springframework.data.mapping.model.AbstractPersistentProperty<DatastorePersistentProperty>public Iterable<? extends org.springframework.data.util.TypeInformation<?>> getPersistentEntityTypes()
getPersistentEntityTypes in interface org.springframework.data.mapping.PersistentProperty<DatastorePersistentProperty>getPersistentEntityTypes in class org.springframework.data.mapping.model.AbstractPersistentProperty<DatastorePersistentProperty>public boolean isLazyLoaded()
DatastorePersistentPropertyisLazyLoaded in interface DatastorePersistentPropertytrue if the property is lazily-fetched. false otherwise.Copyright © 2020 Pivotal Software, Inc.. All rights reserved.