public class SimpleElasticsearchPersistentProperty extends AnnotationBasedPersistentProperty<ElasticsearchPersistentProperty> implements ElasticsearchPersistentProperty
PersistentProperty implementation processingElasticsearchPersistentProperty.PropertyToFieldNameConverter| Constructor and Description |
|---|
SimpleElasticsearchPersistentProperty(Property property,
PersistentEntity<?,ElasticsearchPersistentProperty> owner,
SimpleTypeHolder simpleTypeHolder) |
| Modifier and Type | Method and Description |
|---|---|
protected Association<ElasticsearchPersistentProperty> |
createAssociation() |
String |
getFieldName()
Returns the name to be used to store the property in the document.
|
boolean |
isIdProperty() |
boolean |
isImmutable() |
boolean |
isParentProperty()
Returns whether the current property is a potential parent property of the owning
ElasticsearchPersistentEntity. |
boolean |
isScoreProperty()
Returns whether the current property is a potential score property of the owning
ElasticsearchPersistentEntity. |
findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetType, getSpelExpression, isAnnotationPresent, isAssociation, isTransient, isVersionProperty, isWritable, toString, usePropertyAccessequals, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypes, getProperty, getRawType, getSetter, getType, getTypeInformation, getWither, hashCode, isArray, isCollectionLike, isEntity, 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, isMap, isTransient, isVersionProperty, isWritable, usePropertyAccesspublic SimpleElasticsearchPersistentProperty(Property property, PersistentEntity<?,ElasticsearchPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder)
public String getFieldName()
ElasticsearchPersistentPropertygetFieldName in interface ElasticsearchPersistentPropertypublic boolean isIdProperty()
isIdProperty in interface PersistentProperty<ElasticsearchPersistentProperty>isIdProperty in class AnnotationBasedPersistentProperty<ElasticsearchPersistentProperty>protected Association<ElasticsearchPersistentProperty> createAssociation()
createAssociation in class AbstractPersistentProperty<ElasticsearchPersistentProperty>public boolean isScoreProperty()
ElasticsearchPersistentPropertyElasticsearchPersistentEntity. This method is mainly used by ElasticsearchPersistentEntity
implementation to discover score property candidates on ElasticsearchPersistentEntity creation you should
rather call ElasticsearchPersistentEntity#isScoreProperty(PersistentProperty) to determine whether the
current property is the score property of that ElasticsearchPersistentEntity under consideration.isScoreProperty in interface ElasticsearchPersistentPropertypublic boolean isImmutable()
isImmutable in interface PersistentProperty<ElasticsearchPersistentProperty>isImmutable in class AbstractPersistentProperty<ElasticsearchPersistentProperty>public boolean isParentProperty()
ElasticsearchPersistentPropertyElasticsearchPersistentEntity. This method is mainly used by ElasticsearchPersistentEntity
implementation to discover parent property candidates on ElasticsearchPersistentEntity creation you should
rather call ElasticsearchPersistentEntity#isParentProperty() to determine whether the current property is
the parent property of that ElasticsearchPersistentEntity under consideration.isParentProperty in interface ElasticsearchPersistentPropertyCopyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.