public class SimpleSolrPersistentProperty extends AnnotationBasedPersistentProperty<SolrPersistentProperty> implements SolrPersistentProperty
PersistentProperty
implementation processing taking
Field
into accountType | 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.
|
isVersionProperty
isVersionProperty
SolrPersistentProperty.PropertyToFieldNameConverter
association, field, information, name, owner, propertyDescriptor, rawType
Constructor and Description |
---|
SimpleSolrPersistentProperty(Field field,
PropertyDescriptor propertyDescriptor,
PersistentEntity<?,SolrPersistentProperty> owner,
SimpleTypeHolder simpleTypeHolder) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsWildcard() |
protected Association<SolrPersistentProperty> |
createAssociation() |
Float |
getBoost() |
Collection<String> |
getCopyFields() |
Object |
getDefaultValue() |
String |
getFieldName()
Get name of field under attention to
Field annotation |
String |
getSolrTypeName() |
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, isAssociation, isTransient, isVersionProperty, isWritable, toString, usePropertyAccess
equals, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityType, getRawType, getSetter, getType, getTypeInformation, hashCode, isArray, isCollectionLike, isEntity, isMap
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findAnnotation, findPropertyOrOwnerAnnotation, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityType, getRawType, getSetter, getSpelExpression, getType, getTypeInformation, isAnnotationPresent, isArray, isAssociation, isCollectionLike, isEntity, isMap, isTransient, isVersionProperty, isWritable, usePropertyAccess
public boolean isIdProperty
isIdProperty
in interface PersistentProperty<SolrPersistentProperty>
isIdProperty
in class AnnotationBasedPersistentProperty<SolrPersistentProperty>
public boolean isScoreProperty
isScoreProperty
in interface SolrPersistentProperty
public boolean isDynamicProperty
isDynamicProperty
in interface SolrPersistentProperty
org.springframework.data.solr.core.mapping.Dynamic}
public SimpleSolrPersistentProperty(Field field, PropertyDescriptor propertyDescriptor, PersistentEntity<?,SolrPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder)
public String getFieldName()
SolrPersistentProperty
Field
annotationgetFieldName
in interface SolrPersistentProperty
public boolean isReadonly()
isReadonly
in interface SolrPersistentProperty
Field
is present and not marked
Indexed.readonly()
= true
public boolean isIdProperty()
isIdProperty
in interface PersistentProperty<SolrPersistentProperty>
isIdProperty
in class AnnotationBasedPersistentProperty<SolrPersistentProperty>
protected Association<SolrPersistentProperty> createAssociation()
createAssociation
in class AbstractPersistentProperty<SolrPersistentProperty>
public boolean containsWildcard()
containsWildcard
in interface SolrPersistentProperty
Field.value()
contains *
public boolean isBoosted()
isBoosted
in interface SolrPersistentProperty
public Float getBoost()
getBoost
in interface SolrPersistentProperty
SolrPersistentProperty.isBoosted()
, null otherwisepublic boolean isSearchable()
isSearchable
in interface SolrPersistentProperty
public boolean isStored()
isStored
in interface SolrPersistentProperty
public boolean isMultiValued()
isMultiValued
in interface SolrPersistentProperty
PersistentProperty.isCollectionLike()
public String getSolrTypeName()
getSolrTypeName
in interface SolrPersistentProperty
public Object getDefaultValue()
getDefaultValue
in interface SolrPersistentProperty
public Collection<String> getCopyFields()
getCopyFields
in interface SolrPersistentProperty
public boolean isUnique()
isUnique
in interface SolrPersistentProperty
public boolean isRequired()
isRequired
in interface SolrPersistentProperty
public boolean isScoreProperty()
isScoreProperty
in interface SolrPersistentProperty
public boolean isDynamicProperty()
isDynamicProperty
in interface SolrPersistentProperty
org.springframework.data.solr.core.mapping.Dynamic}
Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.