Class QueryMapper.AssociationConverter
java.lang.Object
org.springframework.data.mongodb.core.convert.QueryMapper.AssociationConverter
- All Implemented Interfaces:
Converter<MongoPersistentProperty,
String>
- Enclosing class:
- QueryMapper
protected static class QueryMapper.AssociationConverter
extends Object
implements Converter<MongoPersistentProperty,String>
Converter to skip all properties after an association property was rendered.
- Author:
- Oliver Gierke
-
Constructor Summary
ConstructorDescriptionAssociationConverter
(String name, Association<MongoPersistentProperty> association) Creates a newQueryMapper.AssociationConverter
for the givenAssociation
. -
Method Summary
-
Constructor Details
-
AssociationConverter
Creates a newQueryMapper.AssociationConverter
for the givenAssociation
.- Parameters:
association
- must not be null.
-
-
Method Details
-
convert
- Specified by:
convert
in interfaceConverter<MongoPersistentProperty,
String>
-