| Package | Description |
|---|---|
| org.springframework.data.mongodb.core.convert |
Spring Data MongoDB specific converter infrastructure.
|
| Modifier and Type | Method and Description |
|---|---|
protected MappingMongoConverter.ConversionContext |
MappingMongoConverter.getConversionContext(org.springframework.data.mongodb.core.convert.ObjectPath path)
Creates a new
MappingMongoConverter.ConversionContext given ObjectPath. |
MappingMongoConverter.ConversionContext |
MappingMongoConverter.ConversionContext.withPath(org.springframework.data.mongodb.core.convert.ObjectPath currentPath)
Create a new
MappingMongoConverter.ConversionContext with currentPath applied. |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
MappingMongoConverter.readCollectionOrArray(MappingMongoConverter.ConversionContext context,
Collection<?> source,
TypeInformation<?> targetType)
Reads the given
Collection into a collection of the given TypeInformation. |
protected <S> S |
MappingMongoConverter.readDocument(MappingMongoConverter.ConversionContext context,
org.bson.conversions.Bson bson,
TypeInformation<? extends S> typeHint)
Conversion method to materialize an object from a
document. |
protected Map<Object,Object> |
MappingMongoConverter.readMap(MappingMongoConverter.ConversionContext context,
org.bson.conversions.Bson bson,
TypeInformation<?> targetType)
|
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.