public class SimpleSolrPersistentProperty extends org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<SolrPersistentProperty> implements SolrPersistentProperty
PersistentProperty implementation processing taking
Field into account| Type | Property and Description |
|---|---|
boolean |
isDynamic
Gets the value of the property dynamicProperty.
|
boolean |
isId
Gets the value of the property idProperty.
|
boolean |
isScore
Gets the value of the property scoreProperty.
|
SolrPersistentProperty.PropertyToFieldNameConverter| Constructor and Description |
|---|
SimpleSolrPersistentProperty(Field field,
PropertyDescriptor propertyDescriptor,
org.springframework.data.mapping.PersistentEntity<?,SolrPersistentProperty> owner,
org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsWildcard() |
protected org.springframework.data.mapping.Association<SolrPersistentProperty> |
createAssociation() |
Float |
getBoost() |
Collection<String> |
getCopyFields() |
Object |
getDefaultValue() |
String |
getFieldName()
Get name of field under attention to
Field annotation |
String |
getSolrTypeName() |
boolean |
isAssociation() |
boolean |
isBoosted() |
boolean |
isDynamicProperty()
Gets the value of the property dynamicProperty.
|
boolean |
isIdProperty()
Gets the value of the property idProperty.
|
boolean |
isMultiValued() |
boolean |
isReadonly() |
boolean |
isRequired() |
boolean |
isScoreProperty()
Gets the value of the property scoreProperty.
|
boolean |
isSearchable() |
boolean |
isStored() |
boolean |
isUnique() |
findAnnotation, findPropertyOrOwnerAnnotation, getSpelExpression, isAnnotationPresent, isTransient, isVersionProperty, isWritable, toString, usePropertyAccessequals, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityType, getRawType, getSetter, getType, getTypeInformation, hashCode, isArray, isCollectionLike, isEntity, isMapclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindAnnotation, findPropertyOrOwnerAnnotation, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityType, getRawType, getSetter, getSpelExpression, getType, getTypeInformation, isAnnotationPresent, isArray, isCollectionLike, isEntity, isMap, isTransient, isVersionProperty, isWritable, usePropertyAccesspublic boolean isIdProperty
isIdProperty in interface org.springframework.data.mapping.PersistentProperty<SolrPersistentProperty>isIdProperty in class org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<SolrPersistentProperty>public boolean isScoreProperty
isScoreProperty in interface SolrPersistentPropertypublic boolean isDynamicProperty
isDynamicProperty in interface SolrPersistentPropertyorg.springframework.data.solr.core.mapping.Dynamic}public SimpleSolrPersistentProperty(Field field, PropertyDescriptor propertyDescriptor, org.springframework.data.mapping.PersistentEntity<?,SolrPersistentProperty> owner, org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder)
public String getFieldName()
SolrPersistentPropertyField annotationgetFieldName in interface SolrPersistentPropertypublic boolean isReadonly()
isReadonly in interface SolrPersistentPropertyField is present and not marked
Indexed.readonly() = truepublic boolean isAssociation()
isAssociation in interface org.springframework.data.mapping.PersistentProperty<SolrPersistentProperty>isAssociation in class org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<SolrPersistentProperty>public boolean isIdProperty()
isIdProperty in interface org.springframework.data.mapping.PersistentProperty<SolrPersistentProperty>isIdProperty in class org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<SolrPersistentProperty>protected org.springframework.data.mapping.Association<SolrPersistentProperty> createAssociation()
createAssociation in class org.springframework.data.mapping.model.AbstractPersistentProperty<SolrPersistentProperty>public boolean containsWildcard()
containsWildcard in interface SolrPersistentPropertyField.value() contains *public boolean isBoosted()
isBoosted in interface SolrPersistentPropertypublic Float getBoost()
getBoost in interface SolrPersistentPropertySolrPersistentProperty.isBoosted(), null otherwisepublic boolean isSearchable()
isSearchable in interface SolrPersistentPropertypublic boolean isStored()
isStored in interface SolrPersistentPropertypublic boolean isMultiValued()
isMultiValued in interface SolrPersistentPropertyPersistentProperty.isCollectionLike()public String getSolrTypeName()
getSolrTypeName in interface SolrPersistentPropertypublic Object getDefaultValue()
getDefaultValue in interface SolrPersistentPropertypublic Collection<String> getCopyFields()
getCopyFields in interface SolrPersistentPropertypublic boolean isUnique()
isUnique in interface SolrPersistentPropertypublic boolean isRequired()
isRequired in interface SolrPersistentPropertypublic boolean isScoreProperty()
isScoreProperty in interface SolrPersistentPropertypublic boolean isDynamicProperty()
isDynamicProperty in interface SolrPersistentPropertyorg.springframework.data.solr.core.mapping.Dynamic}Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.