public interface ElasticsearchPersistentProperty extends PersistentProperty<ElasticsearchPersistentProperty>
Modifier and Type | Interface and Description |
---|---|
static class |
ElasticsearchPersistentProperty.PropertyToFieldNameConverter |
static class |
ElasticsearchPersistentProperty.QueryPropertyToFieldNameConverter
when building CriteriaQueries use the name; the fieldname is set later with
ElasticsearchConverter . |
Modifier and Type | Method and Description |
---|---|
String |
getFieldName()
Returns the name to be used to store the property in the document.
|
ElasticsearchPersistentPropertyConverter |
getPropertyConverter() |
boolean |
hasPropertyConverter() |
boolean |
isParentProperty()
Returns whether the current property is a potential parent property of the owning
ElasticsearchPersistentEntity . |
boolean |
isReadable()
Returns true if the property may be read.
|
boolean |
isScoreProperty()
Deprecated.
since 4.0, use
SearchHit.getScore() instead |
boolean |
isSeqNoPrimaryTermProperty()
Returns whether the current property is a
SeqNoPrimaryTerm property. |
findAnnotation, findPropertyOrOwnerAnnotation, getAccessorForOwner, 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, usePropertyAccess
String getFieldName()
@Deprecated boolean isScoreProperty()
SearchHit.getScore()
insteadElasticsearchPersistentEntity
. This method is mainly used by ElasticsearchPersistentEntity
implementation to discover score property candidates on ElasticsearchPersistentEntity
creation you should
rather call ElasticsearchPersistentEntity.getScoreProperty()
to determine whether the current property is
the score property of that ElasticsearchPersistentEntity
under consideration.boolean isParentProperty()
ElasticsearchPersistentEntity
. This method is mainly used by ElasticsearchPersistentEntity
implementation to discover parent property candidates on ElasticsearchPersistentEntity
creation you should
rather call ElasticsearchPersistentEntity.getScoreProperty()
to determine whether the current property is
the parent property of that ElasticsearchPersistentEntity
under consideration.boolean isSeqNoPrimaryTermProperty()
SeqNoPrimaryTerm
property.SeqNoPrimaryTerm
boolean hasPropertyConverter()
ElasticsearchPersistentPropertyConverter
is available for this instance.@Nullable ElasticsearchPersistentPropertyConverter getPropertyConverter()
ElasticsearchPersistentPropertyConverter
for this instance.boolean isReadable()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.