public class SimpleSolrPersistentProperty extends AnnotationBasedPersistentProperty<SolrPersistentProperty> implements SolrPersistentProperty
PersistentProperty implementation processing taking
Field into account| Type | Property and Description |
|---|---|
boolean |
isChild
Gets the value of the property childProperty.
|
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.
|
isVersionPropertyisVersionPropertySolrPersistentProperty.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()
Gets the value of the property childProperty.
|
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, 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 boolean isIdProperty
isIdProperty in interface PersistentProperty<SolrPersistentProperty>isIdProperty in class AnnotationBasedPersistentProperty<SolrPersistentProperty>public boolean isScoreProperty
isScoreProperty in interface SolrPersistentPropertypublic boolean isDynamicProperty
isDynamicProperty in interface SolrPersistentPropertyorg.springframework.data.solr.core.mapping.Dynamic}public boolean isChildProperty
isChildProperty in interface SolrPersistentPropertyField.child() to true or is annotated with
ChildDocument.public 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()
isScoreProperty in interface SolrPersistentPropertypublic boolean isDynamicProperty()
isDynamicProperty 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–2018 Pivotal Software, Inc.. All rights reserved.