public class SimpleElasticsearchPersistentProperty extends AnnotationBasedPersistentProperty<ElasticsearchPersistentProperty> implements ElasticsearchPersistentProperty
PersistentProperty implementation processingElasticsearchPersistentProperty.PropertyToFieldNameConverter, ElasticsearchPersistentProperty.QueryPropertyToFieldNameConverter| 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.
|
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(Property property, PersistentEntity<?,ElasticsearchPersistentProperty> owner, 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 PersistentProperty<ElasticsearchPersistentProperty>isWritable in class 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 PersistentProperty<ElasticsearchPersistentProperty>isIdProperty in class AnnotationBasedPersistentProperty<ElasticsearchPersistentProperty>protected Association<ElasticsearchPersistentProperty> createAssociation()
createAssociation in class 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–2022 Pivotal Software, Inc.. All rights reserved.