public class SimpleSolrPersistentProperty extends AnnotationBasedPersistentProperty<SolrPersistentProperty> implements SolrPersistentProperty
PersistentProperty implementation processing taking
Field into accountSolrPersistentProperty.PropertyToFieldNameConverter| Constructor and Description |
|---|
SimpleSolrPersistentProperty(Property property,
PersistentEntity<?,SolrPersistentProperty> owner,
SimpleTypeHolder simpleTypeHolder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsWildcard() |
protected Association<SolrPersistentProperty> |
createAssociation() |
Collection<String> |
getCopyFields() |
Object |
getDefaultValue() |
String |
getFieldName()
Get name of field under attention to
Field annotation |
String |
getSolrTypeName() |
boolean |
isChildProperty() |
boolean |
isDynamicProperty()
Returns whether the property should be handled as dynamic property.
|
boolean |
isIdProperty() |
boolean |
isMultiValued() |
boolean |
isReadonly() |
boolean |
isRequired() |
boolean |
isScoreProperty()
Returns whether the property is a potential score property of the owning
PersistentEntity. |
boolean |
isSearchable() |
boolean |
isStored() |
boolean |
isUnique() |
findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetType, getSpelExpression, isAnnotationPresent, isAssociation, isTransient, isVersionProperty, isWritable, toString, usePropertyAccessequals, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypes, getProperty, getRawType, getSetter, getType, getTypeInformation, getWither, hashCode, isArray, isCollectionLike, isEntity, isImmutable, isMapclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindAnnotation, findPropertyOrOwnerAnnotation, getActualType, getAssociation, getAssociationTargetType, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypes, getRawType, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, getSetter, getSpelExpression, getType, getTypeInformation, getWither, hasActualTypeAnnotation, isAnnotationPresent, isArray, isAssociation, isCollectionLike, isEntity, isImmutable, isMap, isTransient, isVersionProperty, isWritable, usePropertyAccesspublic SimpleSolrPersistentProperty(Property property, PersistentEntity<?,SolrPersistentProperty> owner, 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 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 SolrPersistentPropertyField.value() contains *public 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()
SolrPersistentPropertyPersistentEntity. This
method is mainly used by PersistentEntity implementation to discover score property candidates on
PersistentEntity creation you should rather call to determine whether the current property is the score
property of that PersistentEntity under consideration.isScoreProperty in interface SolrPersistentPropertypublic boolean isDynamicProperty()
SolrPersistentPropertyisDynamicProperty in interface SolrPersistentPropertyorg.springframework.data.solr.core.mapping.Dynamic}public boolean isChildProperty()
isChildProperty in interface SolrPersistentPropertyField.child() to true or is annotated with
ChildDocument.Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.