org.springframework.data.elasticsearch.core.mapping
Class SimpleElasticsearchPersistentProperty
java.lang.Object
org.springframework.data.mapping.model.AbstractPersistentProperty<P>
org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<ElasticsearchPersistentProperty>
org.springframework.data.elasticsearch.core.mapping.SimpleElasticsearchPersistentProperty
- All Implemented Interfaces:
- ElasticsearchPersistentProperty, PersistentProperty<ElasticsearchPersistentProperty>
public class SimpleElasticsearchPersistentProperty
- extends AnnotationBasedPersistentProperty<ElasticsearchPersistentProperty>
- implements ElasticsearchPersistentProperty
Elasticsearch specific PersistentProperty implementation processing
- Author:
- Rizwan Idrees, Mohsin Husen
| Methods inherited from class org.springframework.data.mapping.model.AbstractPersistentProperty |
equals, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityType, getRawType, getSetter, getType, getTypeInformation, hashCode, isArray, isCollectionLike, isEntity, isMap, shallBePersisted |
| Methods inherited from interface org.springframework.data.mapping.PersistentProperty |
findAnnotation, findPropertyOrOwnerAnnotation, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityType, getRawType, getSetter, getSpelExpression, getType, getTypeInformation, isAnnotationPresent, isArray, isAssociation, isCollectionLike, isEntity, isMap, isTransient, isVersionProperty, shallBePersisted, usePropertyAccess |
SimpleElasticsearchPersistentProperty
public SimpleElasticsearchPersistentProperty(Field field,
PropertyDescriptor propertyDescriptor,
PersistentEntity<?,ElasticsearchPersistentProperty> owner,
SimpleTypeHolder simpleTypeHolder)
getFieldName
public String getFieldName()
- Specified by:
getFieldName in interface ElasticsearchPersistentProperty
isIdProperty
public boolean isIdProperty()
- Specified by:
isIdProperty in interface PersistentProperty<ElasticsearchPersistentProperty>- Overrides:
isIdProperty in class AnnotationBasedPersistentProperty<ElasticsearchPersistentProperty>
createAssociation
protected Association<ElasticsearchPersistentProperty> createAssociation()
- Specified by:
createAssociation in class AbstractPersistentProperty<ElasticsearchPersistentProperty>
Copyright © 2011-2014-2014 Pivotal Software, Inc.. All Rights Reserved.