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.
|
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 |
isReference()
True if the property is a POJO and is to be stored in Datastore as a Key of the
POJO, which is a separate entity in Datastore.
|
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, getPersistentEntityTypes, getProperty, getRawType, getSetter, getType, getTypeInformation, getWither, hashCode, isArray, isCollectionLike, isEntity, isImmutable, isMapclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindAnnotation, findPropertyOrOwnerAnnotation, getActualType, getAssociation, getAssociationTargetType, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypes, 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 isReference()
DatastorePersistentPropertyisReference 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>Copyright © 2019 Pivotal Software, Inc.. All rights reserved.