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 |
---|---|
default Class<?> |
getActualTypeOrNull()
calls
PersistentProperty.getActualType() but returns null when an exception is thrown |
String |
getFieldName()
Returns the name to be used to store the property in the document.
|
ElasticsearchPersistentPropertyConverter |
getPropertyConverter() |
boolean |
hasPropertyConverter() |
boolean |
isCompletionProperty() |
boolean |
isGeoPointProperty() |
boolean |
isGeoShapeProperty() |
boolean |
isJoinFieldProperty() |
boolean |
isParentProperty()
Deprecated.
since 4.1, not supported anymore by Elasticsearch
|
boolean |
isReadable()
Returns true if the property may be read.
|
boolean |
isSeqNoPrimaryTermProperty()
Returns whether the current property is a
SeqNoPrimaryTerm property. |
boolean |
storeNullValue() |
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 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()
boolean storeNullValue()
boolean isGeoPointProperty()
boolean isGeoShapeProperty()
boolean isJoinFieldProperty()
boolean isCompletionProperty()
@Nullable default Class<?> getActualTypeOrNull()
PersistentProperty.getActualType()
but returns null when an exception is thrownCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.