public class SimpleSolrPersistentProperty extends AnnotationBasedPersistentProperty<SolrPersistentProperty> implements SolrPersistentProperty
PersistentProperty
implementation processing taking
Field
into accountType | 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.
|
isVersionProperty
isVersionProperty
SolrPersistentProperty.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, usePropertyAccess
equals, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypes, getProperty, getRawType, getSetter, getType, getTypeInformation, getWither, hashCode, isArray, isCollectionLike, isEntity, isImmutable, isMap
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findAnnotation, 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, 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 boolean isChildProperty
isChildProperty
in interface SolrPersistentProperty
Field.child()
to true or is annotated with
ChildDocument
.public SimpleSolrPersistentProperty(Property property, 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 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}
public boolean isChildProperty()
isChildProperty
in interface SolrPersistentProperty
Field.child()
to true or is annotated with
ChildDocument
.Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.