protected static class MappingMongoConverter.ConversionContext extends Object
ValueConverter and ContainerValueConverter.
Entrypoint for recursive conversion of Document and other types.| Modifier and Type | Method and Description |
|---|---|
<S> S |
convert(Object source,
TypeInformation<? extends S> typeHint)
Converts a source object into
target. |
org.springframework.data.mongodb.core.convert.ObjectPath |
getPath() |
MappingMongoConverter.ConversionContext |
withPath(org.springframework.data.mongodb.core.convert.ObjectPath currentPath)
Create a new
MappingMongoConverter.ConversionContext with currentPath applied. |
public <S> S convert(Object source, TypeInformation<? extends S> typeHint)
target.source - must not be null.typeHint - must not be null.public MappingMongoConverter.ConversionContext withPath(org.springframework.data.mongodb.core.convert.ObjectPath currentPath)
MappingMongoConverter.ConversionContext with currentPath applied.currentPath - must not be null.MappingMongoConverter.ConversionContext with currentPath applied.public org.springframework.data.mongodb.core.convert.ObjectPath getPath()
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.