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
ConstructorsConstructorDescriptionAssociationConverter(String name, Association<MongoPersistentProperty> association) Creates a newQueryMapper.AssociationConverterfor the givenAssociation. -
Method Summary
-
Constructor Details
-
AssociationConverter
Creates a newQueryMapper.AssociationConverterfor the givenAssociation.- Parameters:
association- must not be null.
-
-
Method Details
-
convert
- Specified by:
convertin interfaceConverter<MongoPersistentProperty, String>
-