T - ID - public class MappingSolrEntityInformation<T,ID extends Serializable> extends AbstractEntityInformation<T,ID> implements SolrEntityInformation<T,ID>
AbstractEntityInformation| Constructor and Description |
|---|
MappingSolrEntityInformation(SolrPersistentEntity<T> entity) |
MappingSolrEntityInformation(SolrPersistentEntity<T> entity,
String solrCoreName) |
| Modifier and Type | Method and Description |
|---|---|
ID |
getId(T entity) |
String |
getIdAttribute()
get the name of the id attribute
|
Class<ID> |
getIdType() |
String |
getSolrCoreName()
get the name of the solr collection the entity resides in
|
getJavaType, isNewclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisNewgetJavaTypepublic MappingSolrEntityInformation(SolrPersistentEntity<T> entity)
public MappingSolrEntityInformation(SolrPersistentEntity<T> entity, String solrCoreName)
public ID getId(T entity)
getId in interface EntityInformation<T,ID extends Serializable>public Class<ID> getIdType()
getIdType in interface EntityInformation<T,ID extends Serializable>public String getIdAttribute()
SolrEntityInformationgetIdAttribute in interface SolrEntityInformation<T,ID extends Serializable>public String getSolrCoreName()
SolrEntityInformationgetSolrCoreName in interface SolrEntityInformation<T,ID extends Serializable>Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.