Class MappingMeilisearchEntityInformation<T,ID>
java.lang.Object
org.springframework.data.repository.core.support.PersistentEntityInformation<T,ID>
io.vanslog.spring.data.meilisearch.repository.support.MappingMeilisearchEntityInformation<T,ID>
- Type Parameters:
T- the type of the entityID- the type of the entity's identifier
- All Implemented Interfaces:
MeilisearchEntityInformation<T,,ID> EntityInformation<T,,ID> EntityMetadata<T>
public class MappingMeilisearchEntityInformation<T,ID>
extends PersistentEntityInformation<T,ID>
implements MeilisearchEntityInformation<T,ID>
Implementation of
MeilisearchEntityInformation.- Author:
- Junghoon Ban
-
Constructor Summary
ConstructorsConstructorDescriptionMappingMeilisearchEntityInformation(MeilisearchPersistentEntity<T> persistentEntity) Creates a newMappingMeilisearchEntityInformationfor the givenMeilisearchPersistentEntity. -
Method Summary
Modifier and TypeMethodDescriptionReturns the id attribute.Returns the uid of the index.Methods inherited from class org.springframework.data.repository.core.support.PersistentEntityInformation
getId, getIdType, getJavaType, isNewMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.repository.core.EntityInformation
getId, getIdType, getRequiredId, isNewMethods inherited from interface org.springframework.data.repository.core.EntityMetadata
getJavaType
-
Constructor Details
-
MappingMeilisearchEntityInformation
Creates a newMappingMeilisearchEntityInformationfor the givenMeilisearchPersistentEntity.- Parameters:
persistentEntity- must not be null.
-
-
Method Details
-
getIdAttribute
Description copied from interface:MeilisearchEntityInformationReturns the id attribute.- Specified by:
getIdAttributein interfaceMeilisearchEntityInformation<T,ID> - Returns:
- Id attribute
-
getIndexUid
Description copied from interface:MeilisearchEntityInformationReturns the uid of the index.- Specified by:
getIndexUidin interfaceMeilisearchEntityInformation<T,ID> - Returns:
- Index UID
-