Interface FieldNamingStrategy
- All Known Implementing Classes:
CamelCaseAbbreviatingFieldNamingStrategy
,CamelCaseSplittingFieldNamingStrategy
,PropertyNameFieldNamingStrategy
,SnakeCaseFieldNamingStrategy
public interface FieldNamingStrategy
SPI to determine how to name document fields in cases the field name is not manually defined.
- Since:
- 1.9
- Author:
- Oliver Gierke
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetFieldName
(PersistentProperty<?> property) Returns the field name to be used for the givenPersistentProperty
.
-
Method Details
-
getFieldName
Returns the field name to be used for the givenPersistentProperty
.- Parameters:
property
- must not be null or empty;- Returns:
-