public interface ElasticsearchPersistentEntity<T> extends PersistentEntity<T,ElasticsearchPersistentProperty>
doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getPropertyPathAccessor, getRequiredAnnotation, getRequiredIdProperty, getRequiredPersistentProperty, getRequiredVersionProperty, getType, getTypeAlias, getTypeInformation, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, requiresPropertyPopulation
forEach, iterator, spliterator
IndexCoordinates getIndexCoordinates()
short getShards()
short getReplicas()
boolean isUseServerConfiguration()
ElasticsearchPersistentProperty getVersionProperty()
getVersionProperty
in interface PersistentEntity<T,ElasticsearchPersistentProperty>
@Nullable ElasticsearchPersistentProperty getParentIdProperty()
@Nullable org.elasticsearch.index.VersionType getVersionType()
boolean isCreateIndexAndMapping()
@Deprecated boolean hasScoreProperty()
ElasticsearchPersistentEntity
has a score property. If this call returns
true, getScoreProperty()
will return a non-null value.ElasticsearchPersistentEntity
does not define a score property.@Nullable @Deprecated ElasticsearchPersistentProperty getScoreProperty()
ElasticsearchPersistentEntity
. Can be null in case no score
property is available on the entity.ElasticsearchPersistentProperty
of the PersistentEntity
or null if not
defined.@Nullable ElasticsearchPersistentProperty getPersistentPropertyWithFieldName(String fieldName)
ElasticsearchPersistentProperty
with the given fieldName (may be set by the Field
annotation.fieldName
- to field name for the search, must not be nullboolean hasSeqNoPrimaryTermProperty()
ElasticsearchPersistentEntity
has a SeqNoPrimaryTerm
property. If this call
returns true, getSeqNoPrimaryTermProperty()
will return a non-null value.ElasticsearchPersistentEntity
does not define a SeqNoPrimaryTerm property.@Nullable ElasticsearchPersistentProperty getSeqNoPrimaryTermProperty()
SeqNoPrimaryTerm
property of the ElasticsearchPersistentEntity
. Can be null
in case no such property is available on the entity.SeqNoPrimaryTerm
ElasticsearchPersistentProperty
of the PersistentEntity
or
null if not defined.default ElasticsearchPersistentProperty getRequiredSeqNoPrimaryTermProperty()
SeqNoPrimaryTerm
property of the ElasticsearchPersistentEntity
or throws an
IllegalStateException in case no such property is available on the entity.SeqNoPrimaryTerm
ElasticsearchPersistentProperty
of the PersistentEntity
.Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.