T - public class SimpleSolrPersistentEntity<T> extends BasicPersistentEntity<T,SolrPersistentProperty> implements SolrPersistentEntity<T>, ApplicationContextAware
PersistentEntity implementation holding eg. name of solr core.| Type | Property and Description |
|---|---|
boolean |
hasScore
Returns whether the
SolrPersistentEntity has an score property. |
hasIdProperty, hasVersionPropertyhasIdProperty, hasVersionProperty| Constructor and Description |
|---|
SimpleSolrPersistentEntity(TypeInformation<T> typeInformation) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCollectionName()
Get the core's name for this entity.
|
SolrPersistentProperty |
getScoreProperty()
Returns the score property of the
SolrPersistentEntity. |
boolean |
hasScoreProperty()
Returns whether the
SolrPersistentEntity has an score property. |
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
verify() |
addAssociation, addPersistentProperty, doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getEvaluationContext, getFallbackIsNewStrategy, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPropertyAccessor, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, iterator, requiresPropertyPopulation, returnPropertyIfBetterIdPropertyCandidateOrNull, setEvaluationContextProvider, setPersistentPropertyAccessorFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPersistentPropertydoWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPropertyAccessor, getRequiredAnnotation, getRequiredIdProperty, getRequiredPersistentProperty, getRequiredVersionProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, requiresPropertyPopulationforEach, iterator, spliteratorpublic boolean hasScoreProperty
hasScoreProperty in interface SolrPersistentEntity<T>SolrPersistentEntity does not define a score property.public SimpleSolrPersistentEntity(TypeInformation<T> typeInformation)
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext in interface ApplicationContextAwareBeansExceptionpublic String getCollectionName()
SolrPersistentEntitygetCollectionName in interface SolrPersistentEntity<T>public boolean hasScoreProperty()
SolrPersistentEntitySolrPersistentEntity has an score property. If this call returns true,
SolrPersistentEntity.getScoreProperty() will return a non-null value.hasScoreProperty in interface SolrPersistentEntity<T>SolrPersistentEntity does not define a score property.@Nullable public SolrPersistentProperty getScoreProperty()
SolrPersistentEntitySolrPersistentEntity. Can be null in case no score property is
available on the entity.getScoreProperty in interface SolrPersistentEntity<T>SolrPersistentProperty of the PersistentEntity or null if not defined.public void verify()
verify in interface MutablePersistentEntity<T,SolrPersistentProperty>verify in class BasicPersistentEntity<T,SolrPersistentProperty>Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.