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, usePropertyAccess
equals, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getProperty, getRawType, getSetter, getType, getTypeInformation, getWither, hashCode, isArray, isCollectionLike, isEntity, isImmutable, isMap
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findAnnotation, 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, usePropertyAccess
public String getFieldName()
DatastorePersistentProperty
getFieldName
in interface DatastorePersistentProperty
public boolean isDescendants()
DatastorePersistentProperty
isDescendants
in interface DatastorePersistentProperty
true
if the property contains child entities. false
otherwise.public boolean isUnindexed()
DatastorePersistentProperty
isUnindexed
in interface DatastorePersistentProperty
public boolean isColumnBacked()
DatastorePersistentProperty
isColumnBacked
in interface DatastorePersistentProperty
public EmbeddedType getEmbeddedType()
DatastorePersistentProperty
EmbeddedType
of the property indicating what what type of embedding pathway
will be used to store the property.getEmbeddedType
in interface DatastorePersistentProperty
protected 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()
DatastorePersistentProperty
isLazyLoaded
in interface DatastorePersistentProperty
true
if the property is lazily-fetched. false
otherwise.Copyright © 2022. All rights reserved.