Interface MeilisearchPersistentEntity<T>
- Type Parameters:
T-
- All Superinterfaces:
Iterable<MeilisearchPersistentProperty>,PersistentEntity<T,MeilisearchPersistentProperty>
- All Known Implementing Classes:
SimpleMeilisearchPersistentEntity
public interface MeilisearchPersistentEntity<T>
extends PersistentEntity<T,MeilisearchPersistentProperty>
Meilisearch specific
PersistentEntity abstraction.- Author:
- Junghoon Ban
-
Method Summary
Modifier and TypeMethodDescriptioncom.meilisearch.sdk.model.SettingsReturns the default settings for an index.Returns the Index UID of the persistent entity.booleanReturns whether to apply the settings to the index on repository bootstrapping.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface org.springframework.data.mapping.PersistentEntity
doWithAll, doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getInstanceCreatorMetadata, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getPropertyPathAccessor, getRequiredAnnotation, getRequiredIdProperty, getRequiredPersistentProperty, getRequiredVersionProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isCreatorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, requiresPropertyPopulation
-
Method Details
-
getIndexUid
String getIndexUid()Returns the Index UID of the persistent entity.- Returns:
- Index UID
-
isApplySettings
boolean isApplySettings()Returns whether to apply the settings to the index on repository bootstrapping.- Returns:
- applySettings
-
getDefaultSettings
Returns the default settings for an index.- Returns:
- settings
-