public interface ElasticsearchPersistentEntity<T> extends PersistentEntity<T,ElasticsearchPersistentProperty>
Modifier and Type | Method and Description |
---|---|
IndexCoordinates |
getIndexCoordinates() |
String |
getIndexStoreType() |
ElasticsearchPersistentProperty |
getParentIdProperty() |
String |
getParentType() |
ElasticsearchPersistentProperty |
getPersistentPropertyWithFieldName(String fieldName)
returns the
ElasticsearchPersistentProperty with the given fieldName (may be set by the Field
annotation. |
String |
getRefreshInterval() |
short |
getReplicas() |
ElasticsearchPersistentProperty |
getScoreProperty()
Deprecated.
since 4.0
|
short |
getShards() |
ElasticsearchPersistentProperty |
getVersionProperty() |
org.elasticsearch.index.VersionType |
getVersionType() |
boolean |
hasScoreProperty()
Deprecated.
since 4.0
|
boolean |
isCreateIndexAndMapping() |
boolean |
isUseServerConfiguration() |
String |
settingPath() |
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()
String settingPath()
@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 nullCopyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.