Spring Data Solr

org.springframework.data.solr.repository.query
Interface SolrEntityInformation<T,ID extends Serializable>

Type Parameters:
T -
ID -
All Superinterfaces:
EntityInformation<T,ID>, EntityMetadata<T>
All Known Implementing Classes:
MappingSolrEntityInformation

public interface SolrEntityInformation<T,ID extends Serializable>
extends EntityInformation<T,ID>

Author:
Christoph Strobl

Method Summary
 String getIdAttribute()
          get the name of the id attribute
 String getSolrCoreName()
          get the name of the solr collection the entity resides in
 
Methods inherited from interface org.springframework.data.repository.core.EntityInformation
getId, getIdType, isNew
 
Methods inherited from interface org.springframework.data.repository.core.EntityMetadata
getJavaType
 

Method Detail

getIdAttribute

String getIdAttribute()
get the name of the id attribute

Returns:

getSolrCoreName

String getSolrCoreName()
get the name of the solr collection the entity resides in

Returns:

Spring Data Solr

Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.