public class SimpleElasticsearchPersistentProperty extends org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<ElasticsearchPersistentProperty> implements ElasticsearchPersistentProperty
PersistentProperty implementation processingElasticsearchPersistentProperty.PropertyToFieldNameConverter, ElasticsearchPersistentProperty.QueryPropertyToFieldNameConverter| Constructor and Description |
|---|
SimpleElasticsearchPersistentProperty(org.springframework.data.mapping.model.Property property,
org.springframework.data.mapping.PersistentEntity<?,ElasticsearchPersistentProperty> owner,
org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder) |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.data.mapping.Association<ElasticsearchPersistentProperty> |
createAssociation() |
String |
getFieldName()
Returns the name to be used to store the property in the document.
|
PropertyValueConverter |
getPropertyValueConverter() |
protected boolean |
hasExplicitFieldName() |
boolean |
hasPropertyValueConverter() |
boolean |
isCompletionProperty() |
boolean |
isGeoPointProperty() |
boolean |
isGeoShapeProperty() |
boolean |
isIdProperty() |
boolean |
isJoinFieldProperty() |
boolean |
isReadable()
Returns true if the property may be read.
|
boolean |
isSeqNoPrimaryTermProperty()
Returns whether the current property is a
SeqNoPrimaryTerm property. |
boolean |
isWritable() |
boolean |
storeNullValue() |
findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetTypeInformation, getSpelExpression, isAnnotationPresent, isAssociation, isTransient, isVersionProperty, toString, usePropertyAccessequals, getActualType, getActualTypeInformation, getAssociation, getAssociationTargetType, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypeInformation, getPersistentEntityTypes, getProperty, getRawType, getSetter, getType, getTypeInformation, getWither, hashCode, isArray, isCollectionLike, isEntity, isImmutable, isMapclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetActualTypeOrNullfindAnnotation, findPropertyOrOwnerAnnotation, getAccessorForOwner, getActualType, getAssociation, getAssociationTargetType, getAssociationTargetTypeInformation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypeInformation, getPersistentEntityTypes, getRawType, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, getSetter, getSpelExpression, getType, getTypeInformation, getWither, hasActualTypeAnnotation, isAnnotationPresent, isArray, isAssociation, isCollectionLike, isEntity, isImmutable, isMap, isTransient, isVersionProperty, usePropertyAccesspublic SimpleElasticsearchPersistentProperty(org.springframework.data.mapping.model.Property property,
org.springframework.data.mapping.PersistentEntity<?,ElasticsearchPersistentProperty> owner,
org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder)
public boolean hasPropertyValueConverter()
hasPropertyValueConverter in interface ElasticsearchPersistentPropertyPropertyValueConverter is available for this instance.@Nullable public PropertyValueConverter getPropertyValueConverter()
getPropertyValueConverter in interface ElasticsearchPersistentPropertyPropertyValueConverter for this instance.public boolean isWritable()
isWritable in interface org.springframework.data.mapping.PersistentProperty<ElasticsearchPersistentProperty>isWritable in class org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<ElasticsearchPersistentProperty>public boolean isReadable()
ElasticsearchPersistentPropertyisReadable in interface ElasticsearchPersistentPropertypublic boolean storeNullValue()
storeNullValue in interface ElasticsearchPersistentPropertyprotected boolean hasExplicitFieldName()
public String getFieldName()
ElasticsearchPersistentPropertygetFieldName in interface ElasticsearchPersistentPropertypublic boolean isIdProperty()
isIdProperty in interface org.springframework.data.mapping.PersistentProperty<ElasticsearchPersistentProperty>isIdProperty in class org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<ElasticsearchPersistentProperty>protected org.springframework.data.mapping.Association<ElasticsearchPersistentProperty> createAssociation()
createAssociation in class org.springframework.data.mapping.model.AbstractPersistentProperty<ElasticsearchPersistentProperty>public boolean isSeqNoPrimaryTermProperty()
ElasticsearchPersistentPropertySeqNoPrimaryTerm property.isSeqNoPrimaryTermProperty in interface ElasticsearchPersistentPropertySeqNoPrimaryTermpublic boolean isGeoPointProperty()
isGeoPointProperty in interface ElasticsearchPersistentPropertypublic boolean isGeoShapeProperty()
isGeoShapeProperty in interface ElasticsearchPersistentPropertypublic boolean isJoinFieldProperty()
isJoinFieldProperty in interface ElasticsearchPersistentPropertypublic boolean isCompletionProperty()
isCompletionProperty in interface ElasticsearchPersistentPropertyCopyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.