T
- public class SimpleSolrPersistentEntity<T> extends BasicPersistentEntity<T,SolrPersistentProperty> implements SolrPersistentEntity<T>, ApplicationContextAware
PersistentEntity
implementation holding eg. name of solr core.hasIdProperty, hasVersionProperty
hasIdProperty, hasVersionProperty
Constructor and Description |
---|
SimpleSolrPersistentEntity(TypeInformation<T> typeInformation) |
Modifier and Type | Method and Description |
---|---|
Float |
getBoost() |
String |
getSolrCoreName()
Get the core's name for this entity.
|
boolean |
isBoosted() |
void |
setApplicationContext(ApplicationContext applicationContext) |
addAssociation, addPersistentProperty, doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdProperty, getName, getPersistenceConstructor, getPersistentProperty, getPersistentProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isConstructorArgument, isIdProperty, isVersionProperty, returnPropertyIfBetterIdPropertyCandidateOrNull, verify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdProperty, getName, getPersistenceConstructor, getPersistentProperty, getPersistentProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isConstructorArgument, isIdProperty, isVersionProperty
public SimpleSolrPersistentEntity(TypeInformation<T> typeInformation)
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext
in interface ApplicationContextAware
BeansException
public String getSolrCoreName()
SolrPersistentEntity
getSolrCoreName
in interface SolrPersistentEntity<T>
public boolean isBoosted()
isBoosted
in interface SolrPersistentEntity<T>
public Float getBoost()
getBoost
in interface SolrPersistentEntity<T>
SolrPersistentEntity.isBoosted()
, null otherwiseCopyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.