Class MappingSolrEntityInformation<T,ID>
java.lang.Object
org.springframework.data.repository.core.support.PersistentEntityInformation<T,ID>
org.springframework.data.solr.repository.support.MappingSolrEntityInformation<T,ID>
- Type Parameters:
T-ID-
- All Implemented Interfaces:
org.springframework.data.repository.core.EntityInformation<T,,ID> org.springframework.data.repository.core.EntityMetadata<T>,SolrEntityInformation<T,ID>
public class MappingSolrEntityInformation<T,ID>
extends org.springframework.data.repository.core.support.PersistentEntityInformation<T,ID>
implements SolrEntityInformation<T,ID>
Solr specific implementation of
AbstractEntityInformation-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the name of the solr collection the entity resides in.Get the name of the id attribute.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
-
MappingSolrEntityInformation
-
-
Method Details
-
getIdAttribute
Description copied from interface:SolrEntityInformationGet the name of the id attribute.- Specified by:
getIdAttributein interfaceSolrEntityInformation<T,ID> - Returns:
-
getCollectionName
Description copied from interface:SolrEntityInformationGet the name of the solr collection the entity resides in.- Specified by:
getCollectionNamein interfaceSolrEntityInformation<T,ID> - Returns:
-