mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-29 15:22:11 +00:00
parent
9adc4d2b36
commit
1a24c3c989
@ -66,14 +66,6 @@ public interface ElasticsearchPersistentProperty extends PersistentProperty<Elas
|
|||||||
@Nullable
|
@Nullable
|
||||||
PropertyValueConverter getPropertyValueConverter();
|
PropertyValueConverter getPropertyValueConverter();
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns true if the property may be read from the store into the entity.
|
|
||||||
*
|
|
||||||
* @return true if readable, false otherwise
|
|
||||||
* @since 4.0
|
|
||||||
*/
|
|
||||||
boolean isReadable();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return {@literal true} if null values should be stored in Elasticsearch
|
* @return {@literal true} if null values should be stored in Elasticsearch
|
||||||
* @since 4.1
|
* @since 4.1
|
||||||
|
@ -129,7 +129,7 @@ public class SimpleElasticsearchPersistentProperty extends
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isReadable() {
|
public boolean isReadable() {
|
||||||
return !isTransient() && !isSeqNoPrimaryTermProperty() && !isAnnotationPresent(WriteOnlyProperty.class);
|
return super.isReadable() && !isAnnotationPresent(WriteOnlyProperty.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user